TinyMCE: Use the correct syntax for allowing an embed
element to be a valid child of an object
element.
Fixes a bug in TinyMCE when using its HTML5 schema definition. props azaozz. see #22790. for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@23142 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2a6640e606
commit
b8a5aca5eb
@ -138,7 +138,7 @@
|
||||
// Extend <object> and <embed> (#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[*]');
|
||||
});
|
||||
|
||||
ed.onInit.add(function(ed) {
|
||||
|
Loading…
Reference in New Issue
Block a user