Extend allowed elements for object and embed.
Props azaozz fixes #22790 git-svn-id: http://core.svn.wordpress.org/trunk@23112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0515e2e6a5
commit
cb74a5617a
|
@ -149,6 +149,9 @@
|
|||
ed.schema.addValidElements('td['+tdAttr+'],th['+tdAttr+']');
|
||||
// Adds "name" for <a>
|
||||
ed.schema.addValidElements('a['+commonAttr+'|href|target|ping|rel|media|type|name]');
|
||||
// Extend <object> and <embed>
|
||||
ed.schema.addValidElements('object[*],param[id|name|value|valuetype|type],embed[*]');
|
||||
ed.schema.addValidChildren('object[*]');
|
||||
});
|
||||
|
||||
ed.onInit.add(function(ed) {
|
||||
|
|
Loading…
Reference in New Issue