Make WordPress Core

Changeset 23222


Ignore:
Timestamp:
12/27/2012 10:44:10 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, see #22477 for trunk

File:
1 edited

Legend:

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

    r23219 r23222  
    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.