Ticket #22790: 22790.patch
File 22790.patch, 727 bytes (added by , 12 years ago) |
---|
-
wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js
149 149 ed.schema.addValidElements('td['+tdAttr+'],th['+tdAttr+']'); 150 150 // Adds "name" for <a> 151 151 ed.schema.addValidElements('a['+commonAttr+'|href|target|ping|rel|media|type|name]'); 152 // Extend <object> and <embed> 153 ed.schema.addValidElements('object[*],param[id|name|value|valuetype|type],embed[*]'); 154 ed.schema.addValidChildren('object[*]'); 152 155 }); 153 156 154 157 ed.onInit.add(function(ed) {