[wp-trac] [WordPress Trac] #35760: Provide API for TinyMCE editor to be dynamically instantiated via JS
WordPress Trac
noreply at wordpress.org
Tue May 9 21:07:16 UTC 2017
#35760: Provide API for TinyMCE editor to be dynamically instantiated via JS
-------------------------+-------------------------
Reporter: westonruter | Owner: azaozz
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.8
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: needs-patch | Focuses: javascript
-------------------------+-------------------------
Comment (by azaozz):
Replying to [comment:34 westonruter]:
> Re-opening per [comment:28] and needing a fix for Quicktags.
Sorry but I don't seem to follow. Added `wp.editor.remove()` in [40588]
for exactly this purpose. You don't need to do `QTags._buttonsInit();`
when using `wp.editor.remove()`.
This seems to be working properly in the current plugin (after merging of
https://github.com/xwp/wp-core-media-widgets/pull/158). Tested on the
widgets screen, currently the plugin seem to have loading problems in the
customizer.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35760#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list