Make WordPress Core

Changeset 23221


Ignore:
Timestamp:
12/27/2012 10:37:09 PM (12 years ago)
Author:
azaozz
Message:

TinyMCE: don't remove empty <i>, <b>, <em> and <strong> matching the behavior in WordPress 3.4/TinyMCE 3.4.9, fixes #22477 for 3.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.5/wp-includes/js/tinymce/wp-tinymce-schema.js

    r23218 r23221  
    705705
    706706            // Remove these if they are empty by default
    707             each(split('ol,ul,sub,sup,blockquote,span,font,a,table,tbody,tr,strong,em,b,i'), function(name) {
     707            each(split('ol,ul,sub,sup,blockquote,span,font,a,table,tbody,tr'), function(name) {
    708708                if (elements[name]) {
    709709                    elements[name].removeEmpty = true;
Note: See TracChangeset for help on using the changeset viewer.