WordPress/wp-includes/js/tinymce/plugins
Andrew Nacin 45e3d73a05 Add a sane, inclusive HTML element/attribute schema to TinyMCE.
TinyMCE 3.4.x (shipped with WordPress 3.4.x) had an HTML4-based schema definition, with HTML5 elements added to it. TinyMCE 3.5.x (shipping, again coincidentally, with WordPress 3.5) allows for HTML5 schema support, which also provides for full HTML5 attribute support. The problem is its HTML5 schema excludes all HTML4 elements and attributes that were dropped in the HTML5 spec, which is unacceptable behavior.

This "duck punch" of TinyMCE's Schema.js file creates a new, sane schema. It is TinyMCE's HTML4 and HTML5 schema definitions recursively merged.

Objects are not whitelisted in either schema to allow for embed elements as child nodes, so object, param, and embed remain separately whitelisted in the WordPress TinyMCE plugin. Our attempts to add other attributes in said plugin is now superceded.

props koopersmith, azaozz.
fixes #22790.



git-svn-id: http://core.svn.wordpress.org/trunk@23120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-07 11:26:25 +00:00
..
directionality Update TinyMCE to 3.5.6, see #21173 2012-08-18 23:24:27 +00:00
fullscreen Upgrade to TinyMCE 3.5.8, fixes #22755 2012-12-06 04:50:31 +00:00
inlinepopups Upgrade to TinyMCE 3.5.8, fixes #22755 2012-12-06 04:50:31 +00:00
media Upgrade to TinyMCE 3.5.8, fixes #22755 2012-12-06 04:50:31 +00:00
paste Upgrade to TinyMCE 3.5.8, fixes #22755 2012-12-06 04:50:31 +00:00
spellchecker Update TinyMCE Spellchecker plugin to 2.0.6.1. 2012-11-29 02:45:16 +00:00
tabfocus Update TinyMCE to 3.5.6, see #21173 2012-08-18 23:24:27 +00:00
wordpress Add a sane, inclusive HTML element/attribute schema to TinyMCE. 2012-12-07 11:26:25 +00:00
wpdialogs Compress scripts/styles: 3.5-beta2-22515. 2012-11-09 22:58:35 +00:00
wpeditimage Upgrade to TinyMCE 3.5.8, fixes #22755 2012-12-06 04:50:31 +00:00
wpfullscreen Set svn:eol-style to native for all the files 2012-11-21 22:31:55 +00:00
wpgallery Compress scripts/styles: 3.5-RC2-22953. TinyMCE updated. 2012-11-30 15:20:51 +00:00
wplink Compress scripts/styles: 3.5-alpha-21269. TinyMCE updated. 2012-07-13 00:58:19 +00:00
wpview Compress scripts/styles: 3.5-beta1-22223. TinyMCE updated. 2012-10-12 22:58:48 +00:00