Comment 5 for bug 1381738

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/3820
Committed: http://gitorious.org/mahara/mahara/commit/886a7463566acb75dece77f46a253462ef3a40b5
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 886a7463566acb75dece77f46a253462ef3a40b5
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: Ia8128e5d70bd4be1e5d4b45efae368a88174c4c5