Restore "toggle" button to TinyMCEs with "tinymceconfig" param
Bug 1381738. All the TinyMCE instances that use the "maharaimage" plugin are providing
their own tinymceconfig param which redefines the whole list of plugins in use. So they
didn't get the message when "tooltoggle" became one of the standard plugins.
This fix is a bit of a hack. A more robust fix would provide a way for a TinyMCE to
*add* to the list of plugins, or just specifically say it wants to use maharaimage
instead of image.
Reviewed: https:/ /reviews. mahara. org/3820 gitorious. org/mahara/ mahara/ commit/ 886a7463566acb7 5dece77f46a2534 62ef3a40b5
Committed: http://
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 886a7463566acb7 5dece77f46a2534 62ef3a40b5
Author: Aaron Wells <email address hidden>
Date: Thu Oct 16 19:20:56 2014 +1300
Restore "toggle" button to TinyMCEs with "tinymceconfig" param
Bug 1381738. All the TinyMCE instances that use the "maharaimage" plugin are providing
their own tinymceconfig param which redefines the whole list of plugins in use. So they
didn't get the message when "tooltoggle" became one of the standard plugins.
This fix is a bit of a hack. A more robust fix would provide a way for a TinyMCE to
*add* to the list of plugins, or just specifically say it wants to use maharaimage
instead of image.
Change-Id: Ia8128e5d70bd4b e1e5d4b45efae36 8a88174c4c5