Opened 13 years ago
Closed 13 years ago
#4919 closed defect (fixed)
Dijit Editor not showing LinkDialog up, when using the classname in the plugin-string
Reported by: | guest | Owned by: | liucougar |
---|---|---|---|
Priority: | low | Milestone: | 1.0 |
Component: | Editor | Version: | 0.9 |
Keywords: | editor linkdialog | Cc: | [email protected]… |
Blocked By: | Blocking: |
Description
As you can see on the actual checkout, the last editor shown is enabled using the following syntax:
<textarea dojoType="dijit.Editor" plugins="['bold','italic','|',{name:'dijit._editor.plugins.LinkDialog'}]" styleSheets="../../dojo/resources/dojo.css"> ...
Enabling the LinkDialog? via classname isn't working anymore. This problem appeared since [11164], when the TextColor?-Plugin was integrated. "dijit._editor._Plugin" depends on the object-attribute "command" when the function "_initButton" is called. And if the initializiation of the button isn't made, it fails to add the button to the toolbar with "setToolbar". I've seen, that the LinkDialog? is working, when using "createLink" as plugin-name. Shall this be the new method when implementing own editor-plugins?
Change History (2)
comment:1 Changed 13 years ago by
Milestone: | → 1.0 |
---|---|
Status: | new → assigned |
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [11172]) fixes #4919 and updated zh translation for linkdialog