Question

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/

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange
scroll top