• 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)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter oferlaor

    (@oferlaor)

    OK, at first I thought it was a bad version. I played with parts of the files and it turns out the issue is caching. Looks like there are file changes under wp-includes/js/tinymce (albeit, minor, the actual tinymce version was not changed).

    However, since the WP wrapping for it, did change, it should have had its cache version bumped in wp-includes/version.php and looks like someone forgot to bump.

    I bumped my version locally and, vwalla, the issue went away. I’m assuming testers didn’t check with cache (or worked on it long enough that the cache expired) so didn’t see the issue.

    Moderator threadi

    (@threadi)

    Great if you have already found a solution for yourself. You are also welcome to submit your findings to Core Trac so that developers can check and evaluate them: https://core.trac.wordpress.org/newticket

    Thread Starter oferlaor

    (@oferlaor)

    done

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘classic editor embedded youtube broke on 6.8’ is closed to new replies.