I'm attempting to use tinymce-rails. I'm not certain how to setup the tinymce.yml file and the documentation doesn't really explain much. The main issue I am having is setting up plugin configurations. For example, how would one setup,
insertdate_dateformat: "%Y-%m-%d"
for the following plugin:
- insertdatetime
YAML is Below:
theme_advanced_toolbar_location: top
theme_advanced_toolbar_align: left
theme_advanced_statusbar_location: bottom
theme_advanced_buttons3_add:
- tablecontrols
- fullscreen
plugins:
- table
- fullscreen
- insertdatetime
How can this be done?
Make sure to use the version 4.0 documentation, since I am assuming you are using the latest version of the gem. Among other changes, there no longer exists an advanced theme, it's called modern.
Furthermore, you don't need to specify theme_blabla anymore. So try writing your yaml as:
toolbar_location: top
toolbar_align: left
statusbar_location: bottom
buttons3_add:
- tablecontrols
- fullscreen
plugins:
- table
- fullscreen
- insertdatetime
insertdate_dateformat: "%Y-%m-%d"
Related
I am currently building a cross-platform mobile application with Convertigo Studio, and the iOS default transition between pages does not fit well with the design : I would like the transitions between pages in the iOS app to be identical to the Android ones.
I have narrowed the problem to the Ionic navCtrl.push() call, probably made by the Convertigo PushPage component.
According to this blog post, it is possible to force transitions with the animation field of the call configuration object :
this.navCtrl.push(MyPageComponent, null, {animate: true, animation: "transition-android"});
Convertigo Studio allows me to edit the animate and duration fields, but not animation.
Without patching the Studio, is there a way to override the iOS default page transition ?
Yes in 7.5.7 version Convertigo studio does not expose the transition type property for push pages. This has been added in 7.6
Nevertheless, you can customize your template (The mobilebuildet_tpl_7_5_7 project in the workspace) the add a default transition into the app module this way :
in ionicTpl/src/app/app.module.ts
Change line
IonicModule.forRoot(MyApp, {}, deepLinkConfig)
to
IonicModule.forRoot(MyApp, {
pageTransition: 'ios-transition'
}, deepLinkConfig)
This way, all page transitions can be set to iOS or Android mode whatever the app runs on.
Do not forget to reload your project (Right click on project->Reload your project) to have the MobileBuilder to regenerate the Ionic project sources and re-execute the app viewer to rebuild the app.
Hope That Helps !
In my vs code extension, I try to integrate a rotating (oct)icon in the status bar. Like the git integration of vs code itself when it is synchronizing. But in fact, I have no how to achieve that goal.
A simplified example of a cheap try:"
window.createStatusBarItem(StatusBarAlignment.Left, 0).text = `$(globe spin) `;
"
As the Icons in Labels documentation says, you can apply a spinning animation to any icon by appending ~spin to the icon name:
$(globe~spin)
Documentation says you can set spinning animation only to
sync
loading
gear
icons.
Is it possible to change the font/height/... of the screencast? I can't find it in the settings.
Here is an updated list of the settings available - as of v1.63 - relating to the Screencast Mode:
The Timeout, Color and Mouse Indicator Size are new as of v1.49.
The commandAndKeys format will show command names - as of v1.63.
It has been added to v1.46, see Add ability to change screencast font size
screencastMode.fontSize // new setting
I try to update tinyMce plugin to be able writing from right to left (like Arabic,Urdu,Persian) .
So i found this code in tinyMce support
tinymce.init({
directionality : 'rtl',
});
The problem is that i don't found where i can add this lines ?
So what is the file to edit this issue
Wait for you answer ... Thank you
Here's the documentation about TinyMCE configuration in ImpressPages - http://www.impresspages.org/docs/tinymce
And example plugins to get you started - http://market.impresspages.org/plugins/?q=tinymce
Download any of it, check how it's built and change to your needs.
Yes its works, i turn it on to support right to left:
For the default settings it was just edit Ip/Internal/Core/assets/tinymce/default.js
and add : directionality : 'rtl', over ipTinyMceConfig = function ()
For update the pluging FullTinyMCE http://market.impresspages.org/plugins/FullTinyMCE
i edited the file Plugin/TinyMceComplete/assets/tinymcecomplete.js
and add this line : tinyMceDefault.directionality = 'rtl';
I have latest version of tinyMCE I need to use this function:
http://www.tinymce.com/wiki.php/api4:event.tinymce.Editor.ObjectResizeStart
to prevent image resizing when I'm in read mode because in Chrome images and tables can be rezised even when I'm saying readonly: true.
You can disable resizing with
object_resizing : false