for my own plugin I have a create-form which includes at least two editor fields and I insert them like this
The editor is shown in the form, it gets saved into the database and the output also looks like it should. However, when I try to use the embed shortcode (for a youtube video), I only get a loading-placeholder. When I use the same embed in a default Wordpress form (new page), the embed works.
Am I missing settings that I need to embed? I thought everything is used as default when I use wp_editor without additional settings like that.
Any help would be appreciated.
I also noticed that the editor does not look exactly like the default one, it is missing the "Distraction-free writing mode" button for example. I don't need it in the plugin, but maybe it is an indicator that I do miss some default settings?
edit 1: The file mce-view.js (wp-includes/js/) throws an error because the property "media.view.settings.post.id" is 0. So far I use the workaround to set a different (existing) post id when the property returns 0. But there's clearly an issue with my plugin that I need to check further.