Improvement to the documentation

SteveX
SteveX
@ultrajam
8 years ago
2,584 posts
Quote: Add a directory /tinymce
2) inside the modules/ClonedModule directory create a directory called "tinymce"
3) upload the custom tinymce plugin to that directory so the plugin.min.js file is located at modules/CustomModule/tinymce/plugin.min.js (this is why you can only have one tinymce plugin per module).
4) repeat steps 1 -> 3 for each tinymce plugin you have
This is a bit confusing - it would be clearer if these were the same module, either ClonedModule or CustomModule.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 11/21/16 10:33:53PM
SteveX
SteveX
@ultrajam
8 years ago
2,584 posts
It's here:
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/4207/howto-add-a-tinymce-plugin-to-the-system

An example of a module which adds a TinyMCE plugin is here:
https://www.jamroom.net/ultrajam/networkmarket/180/editorcodemirror
I didn't use Aparna to make it but it works for us - the TinyMCE code view is much clearer with codemirror.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 08/15/16 01:55:32PM
michael
@michael
8 years ago
7,721 posts
Thanks for finding that @ultrajam, I've updated the docs. :)

Tags