• The toolbars I have set in the TinyMCE Advanced settings aren’t showing up in the page editor. When I load the editor for a page, in the console I’m seeing this message:

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

    The file listed on the right of that line is plugin.min.js:1:76 and the URL I see when I hover over the file name points to .../wordpress/wp-includes/js/tinymce/plugins/compat3x/plugin.min.js?ver=4208-20151113

    https://www.ads-software.com/plugins/tinymce-advanced/

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

    (@markyork)

    Update:

    I have tried clearing my browser (FF) cache/history also.

    In the TinyMCE Advanced settings I had Enable editor menu checked. I tried unchecking that and reloading the editor for a page and the editor menu did disappear, but my toolbar settings still aren’t loading.

    Plugin Author Andrew Ozz

    (@azaozz)

    Seems you have another TinyMCE plugin. That “Deprecated TinyMCE API” warning is most likely triggered by another WordPress plugin that is adding an outdated TinyMCE plugin. Try disabling that plugin and see if this fixes TinyMCE Advanced.

    You can see all plugins that are loaded in TinyMCE by looking at the browser tools: network.

    theyuv

    (@theyuv)

    Hello,

    I am not using this plugin, but perhaps you can help me (and others with a similar issue).

    I am using a plugin where the same deprecated message is printed to the console.

    Therefore I would like to change a line that looks like:

    ed.onNodeChange.add(function(ed, cm, n) {
                        cm.setActive('dwqaCodeEmbed', n.nodeName == 'IMG');
                });

    To something that uses non-deprecated code. Would this be equivalent?:

    ed.on("NodeChange", function(e){
        ed.add(function(ed, cm, n){
            cm.setActive('dwqaCodeEmbed', n.nodeName == 'IMG');
        }
    }

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Toolbar settings not showing up in Editor’ is closed to new replies.