1

Using tinyMCE as wp_editor in a custom post type metabox create an alert when I try to submit or If I want to change location

enter image description here

I don't have such behavior using Quicktags, but since TinyMCE is easier to use I'd like to use it.

I'm aware that using tinymce in a metabox can cause problem since it can't be move inside the dom, but it's not the problem here. I also used the recommended hooks in wordpress codex , ‘edit_page_form’, ‘edit_form_advanced’ and ‘dbx_post_sidebar’ but It doesn't solve my problems

https://developer.wordpress.org/reference/functions/wp_editor/

1 Answer 1

1

This is a bug in WP core 5.6.1:

https://core.trac.wordpress.org/ticket/52440

which will hopefully be fixed by this:

https://core.trac.wordpress.org/changeset/50366

3
  • I tried this fix but It doesn't seems to resolve the problem
    – DrK
    Feb 18, 2021 at 13:09
  • You can roll back your version to 5.6.0 until this is fixed.
    – tdj
    Feb 18, 2021 at 13:21
  • 1
    I did disable autosave until the fix, ty !
    – DrK
    Feb 18, 2021 at 13:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.