Adds an instructions document for the usage of TinyMCE

git-svn-id: https://svn.libreccm.org/ccm/trunk@5755 8810af33-2d31-482b-a856-94f89814c4df
master
baka 2018-11-28 13:06:50 +00:00
parent ea8d4e3a08
commit 9b48cd341e
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# TinyMCE Instructions
## How to switch from Xhina-Editor to TinyMCE
To be able to switch to TinyMCE, you need to add a few lines in the `integration.properties` file in your bundles `cfg` directory:
```properties
com.arsdigita.cms.dhtml_editor_config=/assets/tinymce/tinymce_cms_config.js
waf.bebop.dhtml_editor=TinyMCE
waf.bebop.dhtml_editor_src=/assets/tinymce/js/tinymce/tinymce.min.js
```
This change will only take effect after you've run `ant load-bundle` again and restarted your installation.
## How to compile an individual plugin
After you changed a plugin in `tools-ng/tinymce/plugins`, you may want to see this changes reflected in your installation for testing. To do this, you need to change into the directory of the plugin and execute `npm run build`. Of course you need to have `npm` installed to do this.
After you've done this, you need to recompile your code. You can do this by running `ant deploy`.