Ticket #22842: 22842.3.diff
| File 22842.3.diff, 2.1 KB (added by koopersmith, 5 months ago) |
|---|
-
wp-includes/js/tinymce/wp-tinymce-schema.js
131 131 'img[A|alt|src|height|width|usemap|ismap|name|longdesc|align|border|hspace|vspace][]' + 132 132 'iframe[A|name|src|height|width|sandbox|seamless|longdesc|frameborder|marginwidth|marginheight|scrolling|align][]' + 133 133 'embed[A|src|height|width|type][]' + 134 'object[*][ ]' +134 'object[*][C]' + 135 135 'param[A|name|value|valuetype|type][]' + 136 136 'details[A|open][C|legend]' + 137 137 'command[A|type|label|icon|disabled|checked|radiogroup][]' + … … 139 139 'legend[A|align][C|B]' + 140 140 'div[A|align][C]' + 141 141 'source[A|src|type|media][]' + 142 'audio[A|src|autobuffer|autoplay|loop|controls][source]' + 143 'video[A|src|autobuffer|autoplay|loop|controls|width|height|poster][source]' + 142 'track[A|kind|src|srclang|label|default][]' + 143 'audio[A|src|autobuffer|autoplay|loop|controls][C|source|track]' + 144 'video[A|src|autobuffer|autoplay|loop|controls|width|height|poster][C|source|track]' + 144 145 'hr[A|align|noshade|size|width][]' + 145 146 'form[A|accept-charset|action|autocomplete|enctype|method|name|novalidate|target|onsubmit|onreset|accept][C]' + 146 147 'fieldset[A|disabled|form|name][C|legend]' + -
wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js
135 135 } 136 136 }); 137 137 138 // Extend <object> and <embed> (#WP22790)139 ed.onPreInit.add(function(ed) {140 ed.schema.addValidElements('object[*],param[id|name|value|valuetype|type],embed[*]');141 ed.schema.addValidChildren('+object[embed]');142 });143 144 138 ed.onInit.add(function(ed) { 145 139 var bodyClass = ed.getParam('body_class', ''), body = ed.getBody(); 146 140
