From 9b48cd341e19dd6cc93dfea9bbeac215099b75ab Mon Sep 17 00:00:00 2001 From: baka Date: Wed, 28 Nov 2018 13:06:50 +0000 Subject: [PATCH] Adds an instructions document for the usage of TinyMCE git-svn-id: https://svn.libreccm.org/ccm/trunk@5755 8810af33-2d31-482b-a856-94f89814c4df --- tools-ng/tinymce/TinyMCE Instructions.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tools-ng/tinymce/TinyMCE Instructions.md diff --git a/tools-ng/tinymce/TinyMCE Instructions.md b/tools-ng/tinymce/TinyMCE Instructions.md new file mode 100644 index 000000000..1f2f50235 --- /dev/null +++ b/tools-ng/tinymce/TinyMCE Instructions.md @@ -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`. \ No newline at end of file