Support » Plugin: Classic Editor » Its not visible Visual Editor

  • Hello

    I cant post in wp site. On classic editor, its not visible Visual editor. Cant media. And i updated everything, disabled all plugins, tried almost everything but still continues.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Andrew Ozz

    (@azaozz)

    thinkwired

    (@thinkwired)

    Same issue for me. Here is the console error;

    wp-tinymce.js?ver=49110-20201110:3 Uncaught TypeError: Cannot read property 'setBaseAndExtent' of null
        at i (wp-tinymce.js?ver=49110-20201110:3)
        at Object.each (wp-tinymce.js?ver=49110-20201110:3)
        at Object.select (wp-tinymce.js?ver=49110-20201110:3)
        at w (editor.min.js?ver=5.6:2)
        at r (editor.min.js?ver=5.6:2)
        at HTMLDocument.<anonymous> (editor.min.js?ver=5.6:2)
        at C (wp-tinymce.js?ver=49110-20201110:3)
        at HTMLDocument.d (wp-tinymce.js?ver=49110-20201110:3)
    • This reply was modified 2 months ago by thinkwired.
    Plugin Author Andrew Ozz

    (@azaozz)

    @thinkwired I’ve seen few reports for errors where the range is null when setBaseAndExtent was called. Unfortunately I cannot reproduce it.

    Would it be possible to add define( 'SCRIPT_DEBUG', true ); temporarily to your wp-config.php, then paste the error messages here again. The difference is that the non-minified scripts will be used and the errors will point to the exact code/lines.

    spikeuk1

    (@spikeuk1)

    Plugin Author Andrew Ozz

    (@azaozz)

    @spikeuk1 most likely the above trac tickets are about the same issue. As far as I see the change that may be causing this is: https://github.com/tinymce/tinymce/pull/5845. It parses then serializes all of the content on editor.setContent() (which happens when the editor is initialized, and when new content is added, like from pasting, and may be quite slow). Unfortunately cannot reliably reproduce it, yet, so it’s very hard to “get to the bottom of it”.

    spikeuk1

    (@spikeuk1)

    I’ve a live website that’s showing this problem (and an identical staging server running 5.5.3 that doesn’t) – would be delighted to run any tests or to give you an admin account.

    thinkwired

    (@thinkwired)

    @azaozz

    I can not recreate the issue with define( 'SCRIPT_DEBUG', true );

    As soon as I enable that, the issue goes away. As soon as I disable, the issue comes back.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.