[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 03:44:24 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:28 westonruter]:

 Yeah, Quicktags is not as easy to work with as TinyMCE :) Need to remove
 the instance by hand, also the "ref instance" so it rebuilds the buttons.
 Added `wp.editor.remove()` to make that easy.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35760#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list