...
Tinymce is an open source JavaScript WYSIWYG editor that is integrated into Contenido's backend to help authors entering and formatting text. This article is about how its integration is implemented.
Table of Contents |
---|
Activation
TinyMCE 4 is not enabled by default. One has to manually enable TinyMCE 4 in CONTENIDO. We commend to use TinyMCE only in a new installation of CONTENIDO.
Where TinyMCE 4 can be enabled
Administration -> Users -> Properties -> User-defined properties
Area/Type: wysiwyg
Property: editor
Value: tinymce4
Administration -> System -> Add new variable
Administration -> Clients -> Client settings -> Choose wanted setting range -> Add new variable
Type: wysiwyg
Name: editor
Value: tinymce4
How to disable TinyMCE 4
Remove the settings at the places where you enabled TinyMCE 4. The default WYSIWYG editor in CONTENIDO will then be used.
Settings
Toolbars
full
This is the toolbar of inline-tinymce in fullscreen mode. Apply tinymce settings through key "tinymce4_full".
...
Code Block | ||
---|---|---|
| ||
// open dialog var diag = ed.windowManager.open({ title: 'Your window title', url: 'url/to/load', }, { oneCustomParameter: false }); // handle close event of dialog diag.on('close', function() { var args = ed.windowManager.getParams(); // your code here }); |
Update to latest Minor-Release
Downloads
To Update TinyMCE to the latest Minor-Version, download latest TinyMCE from here
You could also download languagepack if needed
Extract & Update
After downloading, unzip folder to your favorit location. You should now have a Folder named tinymce
Go to your contenido folder and browse to your tinymce4 folder
Code Block |
---|
contenido/external/wysiwyg/tinymce4 |
Rename tinymce to tinymce_backup just to have a backup, in case somethings not working.
Copy/Upload the extracted folder to the previously browsed path so you have a new tinymce folder in your server stucture.
Info |
---|
Be sure you have the right tinymce activated |
Info |
---|
Be sure to clear your browsercache after doing these changes |