[wp-trac] [WordPress Trac] #39337: TinyMCE: when a wpview is the last element, insert an empty paragraph (caret placeholder) under it
WordPress Trac
noreply at wordpress.org
Fri Jan 6 05:02:54 UTC 2017
#39337: TinyMCE: when a wpview is the last element, insert an empty paragraph
(caret placeholder) under it
--------------------------+------------------
Reporter: azaozz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.8
Component: TinyMCE | Version: 4.4
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------
Comment (by azaozz):
In 39337.3.patch: Pass the editor event to `wp.mce.views.setMarkers()` for
context, then use it to move the cursor after the newly inserted wpview
node, or to deselect the wpview on initial loading.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39337#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list