diff --git a/wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js b/wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js index 8861cc98a0..89b2771f89 100644 --- a/wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js +++ b/wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js @@ -138,7 +138,7 @@ // Extend and (#WP22790) ed.onPreInit.add(function(ed) { ed.schema.addValidElements('object[*],param[id|name|value|valuetype|type],embed[*]'); - ed.schema.addValidChildren('+object[*]'); + ed.schema.addValidChildren('+object[embed]'); }); ed.onInit.add(function(ed) {