Support » Plugin: Classic Editor » Edit Post page Broken After Update to WP 5.6

  • Resolved isabel104

    (@isabel104)


    After updating to WordPress 5.6, two things are broken on the Edit Post page (using Firefox browser):

    • The “Edit” button to edit the Permalink does not work. Clicking it does nothing.
    • The Tags don’t populate when typing a post tag.

    The only way for these 2 things worked for me now, is to disable Classic Editor, (which is undesirable because it breaks my post content).

    • This topic was modified 7 months, 2 weeks ago by isabel104.
Viewing 15 replies - 16 through 30 (of 38 total)
  • Same problem, I hope this helps:

    Deprecated TinyMCE API call: <target>.onNodeChange.add(..) at xxx/wp-includes/js/tinymce/plugins/compat3x/plugin.min.js

    Only in page/post the editor in category, tag works

    • This reply was modified 7 months, 2 weeks ago by aarcos.

    I have downgraded to the previous version using a plugin named WP Downgrade until they fix this issue

    Plugin Author Andrew Ozz

    (@azaozz)

    @isabel104 @nighthawk2020 any js errors in the browser tools? (Please see https://wordpress.org/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis).

    @aarcos this means you have an old WP plugin that is adding a very very old TinyMCE script. Please update it or replace it as it may be causing other problems and may stop working (or has already stopped working). However it shouldn’t “break” anything else. Do you see other errors/messages there?

    Thread Starter isabel104

    (@isabel104)

    There were js errors, but your initial suggestion of “holding down Shift and reloading the page couple of times” fixes the issue. Thank you @azaozz.

    Reminder because this post seems to have been sidetracked by other issues: the original issues in this thread were that the Edit permalink button was not working, and the Add tags button was not working so you could not add Tags to a post after updating to WP 5.6.

    These issues are fixed by “holding down Shift and reloading the page couple of times”.

    • This reply was modified 7 months, 1 week ago by isabel104.

    @azaozz
    just updated to 5.6, have this error

    wp-tinymce.js?ver=49110-20201110:3 Uncaught TypeError: Cannot read property 'setBaseAndExtent' of null

    and empty visual tab

    Any update ?

    Plugin Author Andrew Ozz

    (@azaozz)

    @isabel104 Glad to hear it! Thanks for letting everybody know.

    @trickypicky Is that the only error there? If yes, could you look at the “trace” to see which file it originates from? Also, could you try a different browser and/or use a “private window” to access it.

    This sounds like an error with the selection in the editor which should be pretty severe. On the other hand the editor seems to be working properly here…

    • This reply was modified 7 months, 1 week ago by Andrew Ozz.

    The plugin is not working no matter what you say.

    I have been using it for the last few days and it continue to have the same issue:

    The classic editor in the visual editor does not display anything. When I switch to text editor it shows the code and when I switch back to the visual editor the text is strange looking and not right. Then when I save as draft all the text disappears!

    When will this be fixed?

    I downgraded my self-hosted WordPress to 5.5.3 (Plugin WP Downgrade). It solved all my problems.

    Unfortunately I can’t downgrade the wordpress.com-hosted version. It might solve all of my problems there, too.

    WordPress 5.6 sucks!

    I hope, some support is reading this to solve the issues …

    Facing same issue here.

    I am finding that the classic editor is not rendering on edit pages since 5.6 the classic editor / tinyMCE seems to have been altered in 5.6.

    However if you switch the editor to text mode then back to visual mode classic paragraph and classic editor blocks seem to be ok.

    Here is a hack to do that after 2 seconds once the page loads.

    
    jQuery( document ).ready(function() {
        setTimeout(function(){
          wp.data.dispatch( 'core/edit-post' ).switchEditorMode( 'text' );
          wp.data.dispatch( 'core/edit-post' ).switchEditorMode( 'visual' );
        }, 2000);
    });
    

    The issue seems to be that:

    wp.oldEditor.initialize() is no longer firing and many plugins/blocks looking for this event are no longer functioning.

    That is an interesting fix.
    I am having the same problem with using the classic editor / TinyMCE to create/edit pages. Also found the Visual > Text > Visual hack to populate the Visual Editor block. But also found that any changes made in Visual were not saved.

    thinkwired

    (@thinkwired)

    @azaozz
    just updated to 5.6, have this error

    wp-tinymce.js?ver=49110-20201110:3 Uncaught TypeError: Cannot read property ‘setBaseAndExtent’ of null

    and empty visual tab

    My issue is in a way different – but I get the impression the root cause is the same, which might be deeper than just this plugin.

    Whenever I turn on the classic editor, I can’t use “Insert from URL”.
    It looks garbled in a way as if the html tags don’t close properly.
    Here’s an image how it appears.

    I can actually go into the inspector mode, and move some <span> tags around, and that fixes it for the moment when I edit that post.

    I tried deleting the cache, reloading while holding shift. Updated everything. Waited some days. Used different browsers.
    It’s not directly linked to this plugin – as it also happens if I disable Gutenberg via a functions entry. But see what’s written here, it looks like the same issue?
    Couldn’t find anything via google, and don’t know where else to look.

    Even was trying to maybe now step over to Gutenberg … haha, it’s still a total mess and unusable. I really don’t get what’s going on there.

    Uhh, I just reverted to an older jquery via a plugin – and that fixed it. :/

Viewing 15 replies - 16 through 30 (of 38 total)
  • The topic ‘Edit Post page Broken After Update to WP 5.6’ is closed to new replies.