[wp-trac] [WordPress Trac] #63308: tinymce cache key should be updated

WordPress Trac noreply at wordpress.org
Mon Jun 30 06:04:58 UTC 2025


#63308: tinymce cache key should be updated
--------------------------+------------------------------
 Reporter:  oferlaor      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  TinyMCE       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by sabernhardt):

 * component:  Editor => TinyMCE


Old description:

> 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...

New description:

 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...

--

Comment:

 Hi and welcome!

 [60007] edited TinyMCE-related files, but I did not find an update to
 `tinymce.min.js` (or `tinymce.js`).
 https://core.trac.wordpress.org/browser/trunk/src/js/_enqueues/vendor/tinymce

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63308#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list