Support » Alpha/Beta/RC » TinyMce error in 4.8-beta1-40674

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    A new API was introduced in 4.8

    Have you read https://make.wordpress.org/core/2017/05/20/editor-api-changes-in-4-8/ ?

    Not yet. Thanx.

    Did you found any solutions for this?
    I’m having the same problems with an old plugin…

    `Deprecated TinyMCE API call: <target>.onNodeChange.add(..)’

    And I think it’s causing the empty box…

    I’m also getting following errors:

    Uncaught TypeError: i is not a constructor
    at tinymce.WPWindowManager.tinymce.InlineWindowManager.b.createInstance (wp-tinymce.php?c=1&ver=4603-20170530:25)
    at Object.init (tiny_mce_popup.js:56)
    at tiny_mce_popup.js:483
    b.createInstance @ wp-tinymce.php?c=1&ver=4603-20170530:25
    init @ tiny_mce_popup.js:56
    (anonymous) @ tiny_mce_popup.js:483
    wp-tinymce.php?c=1&ver=4603-20170530:25 Uncaught TypeError: i is not a constructor
    at tinymce.WPWindowManager.tinymce.InlineWindowManager.b.createInstance (wp-tinymce.php?c=1&ver=4603-20170530:25)
    at new MCTabs (mctabs.js:15)
    at mctabs.js:124
    b.createInstance @ wp-tinymce.php?c=1&ver=4603-20170530:25
    MCTabs @ mctabs.js:15
    (anonymous) @ mctabs.js:124
    tiny_mce_popup.js:191 Uncaught TypeError: Cannot read property ‘add’ of undefined
    at Object.executeOnLoad (tiny_mce_popup.js:191)

    Hi all,

    I found the solution:

    if ('undefined' == typeof tinymce.plugins.dom) {
                tinymce.plugins.dom = tinymce.dom;
            }
            if ('undefined' == typeof tinymce.plugins.util ) {
                tinymce.plugins.util = tinymce.util;
            }
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    @fremun – If you’re not having this issue in the BETA version of WP (currently 4.9), you’re in the wrong place. I’m closing this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘TinyMce error in 4.8-beta1-40674’ is closed to new replies.