[wp-trac] [WordPress Trac] #63308: tinymce cache key should be updated
WordPress Trac
noreply at wordpress.org
Fri Apr 18 09:39:47 UTC 2025
#63308: tinymce cache key should be updated
--------------------------+-----------------------------
Reporter: oferlaor | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
when I paste a youtube link into wordpress classic editor, I get this
error:
tinymce.min.js?ver=49110-20201110:2 Uncaught IndexSizeError: Failed to
execute ‘setStart’ on ‘Range’: There is no child at offset 12.
at Kh (tinymce.min.js?ver=49110-20201110:2:218016)
at tN. (tinymce.min.js?ver=49110-20201110:2:410)
at c.fire (tinymce.min.js?ver=49110-20201110:2:197006)
at tN.fire (tinymce.min.js?ver=49110-20201110:2:197532)
at ev.nodeChanged (tinymce.min.js?ver=49110-20201110:2:220592)
at tN.nodeChanged (tinymce.min.js?ver=49110-20201110:2:345084)
at tN. (tinymce.min.js?ver=49110-20201110:2:220079)
at c.fire (tinymce.min.js?ver=49110-20201110:2:197006)
at tN.fire (tinymce.min.js?ver=49110-20201110:2:197532)
at Pp (tinymce.min.js?ver=49110-20201110:2:199169)
So, I tried to compare what I had with 6.7.2, turns out the issue is that
there are small changes to TinyMCE (not sure since when) but the cache key
(wp-includes/version.php) has not been updated for a while.
$tinymce_version = '49110-20201110';
For sites that have no cloudflare/similar cache, it might not make a
difference, but those that might get an incorrect tinymce version and some
errors...
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63308>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list