[Dojo-interest] re moving plugins (or extra plugins) from dijit.editor
j105.rob at gmail.com
Fri Jun 18 07:46:16 EDT 2010
The plugins are stored in "private" array called _plugins. Looks like you'd
have to extend the editor to create a method to remove the plugin from the
array. And it looks like each plugin inherits _editor._Plugin which has a
destroy method. If the plugin contains more than one button ( a composite
plugin) it looks like you might be out of luck; since you can't just turn a
button off, unless you write your own plugin. I am not sure which plugin
contains each of those buttons; so I have not looked into it any further.
On Fri, Jun 18, 2010 at 7:08 AM, Chris Fleischmann <
chris.fleischmann at sun.com> wrote:
> Hello folks, is there an easy way to remove plugin's from the dijit.editor
> post creation?
> ie., say I want to remove "cut" and "bold" plugins programmatically? I see
> there is a function for addplugin, but what about removing?
> Is it a case of some how creating a new toolbar and attaching that to the
> I am using dojo 1.4.3.
> Thanks in advance,
> View this message in context:
> Sent from the Dojo mailing list archive at Nabble.com.
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://docs.dojocampus.org
> Dojo-interest at mail.dojotoolkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dojo-interest