Support » Plugin: Gutenberg » Editor does let me write spaces nor keeps me select text

  • Hi:

    I updated to WP5 and got an error (scroll at the end).

    Editor behavior: (editing block element)
    Editor does let me write spaces nor keeps me select text, do a backspace to delete character, text is always added in the start. Weird behaviors. I can’t work.

    When Inspected the element in chrome debugger tools, I added a breakpoint (“break on” -> “attribute notifications”) to the block element (paragraph with contentediatable=”true”) and it seems to keeps refreshing. Breakpoint on attribute changed.

    The breakpoint landed on the “save” function in tinymce path: //4.8.0 (2018-06-27)
    /wp-includes/js/tinymce/wp-tinymce.php?ver=4800-20180716

    How to handle this?
    Please help

    ———————-
    Console error:
    ———————-

    wp-auth-check.min.js?ver=5.0:1 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
    at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.0:1)
    at HTMLDocument.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.0:3)
    at HTMLDocument.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.0:3)
    at Object.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.0:3)
    at Object.a.event.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.0:9)
    at HTMLDocument.<anonymous> (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.0:3)
    at Function.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.0:2)
    at a.fn.init.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.0:2)
    at a.fn.init.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.0:3)
    at Object.<anonymous> (load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,jquery-ui-mouse,jquery-ui-sortable,postbox,underscore,backbone,wp-util,wp-backbone,media-&load[]=models,wp-plupload,wp-mediaelement,wp-api-request,media-views&ver=5.0:4)

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Editor does let me write spaces nor keeps me select text’ is closed to new replies.