#32873 closed defect (bug) (fixed)
Remove additional toolbar html when editor instance is removed
| Reported by: | ungestaltbar | Owned by: | iseulde |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.3 |
| Component: | Editor | Version: | 4.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | javascript |
Description
Whenever a tinymce instance is (dynamically) created, the tinymce plugins
/wpeditimage/plugin.js
/wordpress/plugin.js
insert necessary toolbar markup to the document.
This markup is not removed from the DOM when removing an editor instance by calling (for example)
tinyMCE.execCommand('mceRemoveEditor', true, editor_id);
I've attached a rough patch to demonstrate how removal could work and a screenshot of the problem. I didn't find a native method to do this in the tinymce documentation.
Attachments (2)
Change History (6)
#1
@
11 years ago
- Keywords has-patch added
- Milestone Awaiting Review → 4.3
- Version trunk → 4.1
Good catch and thanks for the patch!
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Screenshot of toolbar markup after removing the instance