[wp-trac] [WordPress Trac] #35760: Provide API for TinyMCE editor to be dynamically instantiated via JS
WordPress Trac
noreply at wordpress.org
Tue May 2 20:47:59 UTC 2017
#35760: Provide API for TinyMCE editor to be dynamically instantiated via JS
-------------------------+-------------------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.8
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: | Focuses: javascript
-------------------------+-------------------------
Comment (by westonruter):
@azaozz as noted on
[https://core.trac.wordpress.org/ticket/35243#comment:49 #35243]:
> TinyMCE is initialized when a widget control is expanded. Note there is
currently a 100ms delay in initialization since `wp.editor.initialize()`
seems to not enable `contenteditable` in the editor `iframe` when the
`textarea` is not fully visible (such as while/before `slideDown`).
Is this a defect with `wp.editor.initialize()` or with TinyMCE? Or is it a
known limitation that just needs to be worked around?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35760#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list