[wp-trac] [WordPress Trac] #38849: Shortcode wpview's toolbar appears while no view is selected
WordPress Trac
noreply at wordpress.org
Sun Jan 15 02:53:28 UTC 2017
#38849: Shortcode wpview's toolbar appears while no view is selected
---------------------------------------+-----------------------------
Reporter: bduclos | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: TinyMCE | Version: 4.6.1
Severity: normal | Resolution:
Keywords: has-screenshots has-patch | Focuses: javascript
---------------------------------------+-----------------------------
Comment (by azaozz):
I'm able to reproduce this every time now. It's triggered by firing
multiple `nodechange` events in the editor. This event is used to set or
refresh the inline toolbar and seems to error out when it is fired more
than once for the same element, especially after the initial loading of
HTML in the editor.
Looking at 38849.patch, don't think we need to change the floating toolbar
code. It is enough to check whether the selection is collapsed when a
wpview node is selected.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38849#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list