• In my wordpress theme when i insert new shortcode the button dont work.but other button work.pic
    In Chrome Inspect Element i find this.pic

    window.tinyMCE.execInstanceCommand(editorid, 'mceInsertContent', false, shortcode_c);
    tinyMCEPopup.editor.execCommand('mceRepaint');
    tinyMCEPopup.close();

    I do not know JavaScript programming.How can i fix this error? full of code

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you tried deactivating all of your plugins & switching to the default Twenty Fourteen/ Thirteen theme to rule out any theme or plugin-specific behaviour?

    Thread Starter Alireza

    (@alireza1375)

    I deactivate all of plugins and switching to Twenty Fourteen.Then i switch to my theme but the shortcut in editor do not work.

    Thread Starter Alireza

    (@alireza1375)

    Nobody can help me?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Do you have more information? If not, don’t post for the sake of bumping your thread to the top of the list.

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

The topic ‘How to fix “Uncaught TypeError: undefined is not a function ”?’ is closed to new replies.