WordPress/wp-includes/js
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
..
crop Use ImageOptim to losslessly smush our images. About half a MB in savings! fixes #22381. props waldojaquith 2012-11-07 18:49:10 +00:00
imgareaselect Use ImageOptim to losslessly smush our images. About half a MB in savings! fixes #22381. props waldojaquith 2012-11-07 18:49:10 +00:00
jcrop Remove svn:executable property from SimplePie and jcrop files 2012-11-21 22:18:48 +00:00
jquery jQuery UI 1.9.2. props ocean90. fixes #22563. 2012-11-26 01:20:40 +00:00
plupload Compress scripts/styles: 3.5-RC3-23104. 2012-12-06 08:13:44 +00:00
swfupload Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
thickbox Introduce a new, cross-browser HiDPI CSS @media rule to be used everywhere. 2012-11-17 06:50:08 +00:00
tinymce Add a sane, inclusive HTML element/attribute schema to TinyMCE. 2012-12-07 11:26:25 +00:00
admin-bar.js Toolbar: sync jQuery and non-jQuery JS behaviour when there's a hash in the url, props tlovett1, fixes #22520 2012-11-20 20:45:03 +00:00
admin-bar.min.js Compress scripts/styles: 3.5-beta3-22729. 2012-11-20 20:58:28 +00:00
autosave.js When inserting from URL in the media modal, retain query params and properly insert the caption code. 2012-12-06 23:12:59 +00:00
autosave.min.js Compress scripts/styles: 3.5-RC4-23111. 2012-12-06 23:17:49 +00:00
backbone.min.js Please welcome Underscore.js and Backbone.js to core. fixes #21664. 2012-08-22 22:24:20 +00:00
colorpicker.js Pinking shears 2012-11-17 15:11:29 +00:00
colorpicker.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
comment-reply.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
comment-reply.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
customize-base.js Improve the lazy instantiation of the 'wp' JavaScript variable. props evansolomon, fixes #22113. 2012-10-06 00:43:36 +00:00
customize-base.min.js Compress scripts/styles: 3.5-beta1-22128. 2012-10-07 02:27:48 +00:00
customize-loader.js Customizer: Track the link that was used to open the customizer and restore focus on close. props lessbloat. fixes #21283. 2012-11-21 13:17:10 +00:00
customize-loader.min.js Compress scripts/styles: 3.5-beta3-22763. 2012-11-21 14:58:31 +00:00
customize-preview.js Theme Customizer: Correctly update background-attachment property in live preview 2012-10-07 14:46:39 +00:00
customize-preview.min.js Compress scripts/styles: 3.5-beta1-22133. 2012-10-07 22:58:41 +00:00
hoverIntent.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
hoverIntent.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
json2.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
json2.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
mce-view.js Media: Restore 3.4 editor behavior and remove TinyMCE views. 2012-11-14 07:17:22 +00:00
mce-view.min.js Compress scripts/styles: 3.5-beta3-22572. TinyMCE updated. 2012-11-14 15:00:31 +00:00
media-editor.js Remove trailing comma from JS. props koopersmith, fixes #22800. 2012-12-07 01:13:04 +00:00
media-editor.min.js Compress scripts/styles: 3.5-RC4-23115. 2012-12-07 01:15:44 +00:00
media-models.js Add a canonical location for media frames, an alias to fetch attachments, and frame caching to custom header. fixes #22775. 2012-12-06 05:06:49 +00:00
media-models.min.js Compress scripts/styles: 3.5-RC3-23093. 2012-12-06 05:26:39 +00:00
media-views.js When inserting from URL in the media modal, retain query params and properly insert the caption code. 2012-12-06 23:12:59 +00:00
media-views.min.js Compress scripts/styles: 3.5-RC4-23111. 2012-12-06 23:17:49 +00:00
quicktags.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
quicktags.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
shortcode.js Media: Restore 3.4 editor behavior and remove TinyMCE views. 2012-11-14 07:17:22 +00:00
shortcode.min.js Compress scripts/styles: 3.5-beta3-22572. TinyMCE updated. 2012-11-14 15:00:31 +00:00
swfobject.js Update swfobject 2012-04-17 23:09:29 +00:00
tw-sack.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
tw-sack.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
underscore.min.js Update underscore.js to version 1.4.1. fixes #22081, see #22026. 2012-10-03 00:27:16 +00:00
utils.js Move utils.js (cookie and user setting functions) to wp-includes to enable front-end use. 2012-12-04 19:29:56 +00:00
utils.min.js Move utils.js (cookie and user setting functions) to wp-includes to enable front-end use. 2012-12-04 19:29:56 +00:00
wp-ajax-response.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-ajax-response.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-list-revisions.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-list-revisions.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-lists.js Kill use of colons in class names, props SergeyBiryukov, fixes #21152 2012-11-06 01:01:52 +00:00
wp-lists.min.js Compress scripts/styles: 3.5-beta2-22407. 2012-11-06 22:58:35 +00:00
wp-pointer.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-pointer.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wplink.js New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
wplink.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00