[wp-trac] [WordPress Trac] #52133: TinyMCE editor doesn't load properly when initializing on Visual Tab (Firefox)
WordPress Trac
noreply at wordpress.org
Thu Mar 4 18:54:56 UTC 2021
#52133: TinyMCE editor doesn't load properly when initializing on Visual Tab
(Firefox)
----------------------------+-----------------------------
Reporter: metalandcoffee | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: TinyMCE | Version: 5.6
Severity: normal | Resolution:
Keywords: needs-testing | Focuses:
----------------------------+-----------------------------
Comment (by herrvigg):
I'm recopying here what I wrote in other tickets. Not sure but this could
explain the problem, asynchronous firing with jQuery3:
https://github.com/jquery/jquery/issues/3194
With jQuery3, `ready` handlers fire asynchronously and may be fired after
`load`... there's no guarantee so that can explain some "random"
behaviors.
Long story short, the `load` trigger should never be set in the `ready`
callback but outside. Ideally it should even be avoided when using
`ready`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52133#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list