• Have seen this issue reported in a few places recently (last 7-10 days) but there appears to be no resolution as of yet.

    WP Visual Editor is not working.

    Click Text then Visual and nothing happens EXCEPT the following code is inserted into the editor:
    <span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" class="mce_SELRES_start">?</span>

    The console shows this error:

    /wp-includes/js/tinymce/plugins/compat3x/plugin.min.js?ver=4711-20180425:1 Uncaught TypeError: e.on is not a function
        at Object.e (plugin.min.js?ver=4711-20180425:1)
        at zm.c.fire (tinymce.min.js?ver=4711-20180425:2)
        at Object.fire (tinymce.min.js?ver=4711-20180425:2)
        at new YC (tinymce.min.js?ver=4711-20180425:2)
        at n (tinymce.min.js?ver=4711-20180425:2)
        at Array.<anonymous> (tinymce.min.js?ver=4711-20180425:2)
        at At (tinymce.min.js?ver=4711-20180425:2)
        at e (tinymce.min.js?ver=4711-20180425:2)
        at Re.y.bind (tinymce.min.js?ver=4711-20180425:2)
        at Object.F [as bind] (tinymce.min.js?ver=4711-20180425:2)
    e @ plugin.min.js?ver=4711-20180425:1
    c.fire @ tinymce.min.js?ver=4711-20180425:2
    fire @ tinymce.min.js?ver=4711-20180425:2
    YC @ tinymce.min.js?ver=4711-20180425:2
    n @ tinymce.min.js?ver=4711-20180425:2
    (anonymous) @ tinymce.min.js?ver=4711-20180425:2
    At @ tinymce.min.js?ver=4711-20180425:2
    e @ tinymce.min.js?ver=4711-20180425:2
    Re.y.bind @ tinymce.min.js?ver=4711-20180425:2
    F @ tinymce.min.js?ver=4711-20180425:2
    init @ tinymce.min.js?ver=4711-20180425:2
    e @ load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,jquery-ui-position,wp-pointer,wp-ajax-response,jquery-color,wp-lists,quicktags,jquery-query,admin-c&load[]=omments,suggest,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,word-count,post,editor-expand,thickb&load[]=ox,shortcode,wp-plupload,wp-mediaelement,wp-api-request,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-e&load[]=dit,svg-painter,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,wpdialogs,jquery-ui-slider,jquery-touch-punch,iris,wp-colo&load[]=r-picker,editor,wplink,media-upload,wp-embed&ver=18a9f6edb4bac2dc844976ec9fcc269b:720
    (anonymous) @ load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,jquery-ui-position,wp-pointer,wp-ajax-response,jquery-color,wp-lists,quicktags,jquery-query,admin-c&load[]=omments,suggest,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,word-count,post,editor-expand,thickb&load[]=ox,shortcode,wp-plupload,wp-mediaelement,wp-api-request,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-e&load[]=dit,svg-painter,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,wpdialogs,jquery-ui-slider,jquery-touch-punch,iris,wp-colo&load[]=r-picker,editor,wplink,media-upload,wp-embed&ver=18a9f6edb4bac2dc844976ec9fcc269b:720
    C @ tinymce.min.js?ver=4711-20180425:2
    d @ tinymce.min.js?ver=4711-20180425:2

    WP Version: 4.9.6 (Updated within past 5 days)

    • This topic was modified 6 years, 9 months ago by SJW.

    The page I need help with: [log in to see the link]

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

    One of the possible reason can be some of the JS is getting a conflict with others.

    If possible try to switch the theme to default one and see if the issue still persists.

    If that doesn’t help, try to deactivate all the plugins except Visual and try to see if the issue is solved, activate plugins one by one.

    Thanks.

    I’m experiencing the same problem :/

    Exact same issue as described above! Anyone?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP Visual Editor Broken: Uncaught TypeError: e.on is not a function’ is closed to new replies.