Timeline for Creating custom plugin for tinymce
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 9, 2015 at 15:25 | comment | added | republicca | Thats what I thought too, but if you put several plugin names just separated by a blank space they will work. | |
Jul 9, 2015 at 12:28 | comment | added | Dmitrijs Rekuns | Two? :) How is that? As I understand you can enter only one custom plugin name in this field? | |
Jul 9, 2015 at 11:54 | comment | added | republicca | Perfect! I have now two different plugins working, with their own folder and their name inside the custom plugin field. Thats all it takes. | |
Jul 9, 2015 at 11:18 | comment | added | Dmitrijs Rekuns | So it worked? "Custom Plugin" field? | |
Jul 9, 2015 at 9:20 | comment | added | republicca | If you add it this way there is no need to write anything in the manifest file | |
Jul 9, 2015 at 8:31 | comment | added | Dmitrijs Rekuns |
Hmm, can you try to use "Custom Plugin" field in Editor - TinyMCE settings? I found this in the code: $custom_plugin = $this->params->get('custom_plugin', ''); $plugins[] = $custom_plugin; Seems that you should write your plugin name there and it will be loaded.
|
|
Jul 9, 2015 at 7:48 | comment | added | republicca | Ouch! Hadn't thought about that. Is there some way to make it, lets say "stable", or will I have to modify the manifest file once in a while? | |
Jul 9, 2015 at 7:35 | comment | added | Dmitrijs Rekuns | The bad side of this that XML-manifest could be reverted on next CMS update... | |
Jul 9, 2015 at 7:21 | vote | accept | republicca | ||
Jul 9, 2015 at 7:21 | comment | added | republicca | You are totally right! By adding the folder to the plugins folder and modifying the xml manifest file the plugin is done! Thank you!! | |
Jul 9, 2015 at 6:07 | comment | added | Dmitrijs Rekuns | I am not sure, seems that you should add it also to TinyMCE plugins parameters to enable. See Editor - TinyMCE plugin. But it requires to modify XML-manifest for this plugin. | |
Jul 8, 2015 at 14:16 | comment | added | republicca | Thanks for the answer! I already have my plugin inside that folder but nothing happens. Not even the "Character> " string prints. Do you think there should be something else done? | |
Jul 8, 2015 at 10:22 | history | answered | Dmitrijs Rekuns | CC BY-SA 3.0 |