Permalink
Browse files

Added strong/em to default list of elements to remove when empty.

  • Loading branch information...
1 parent 73d2a51 commit 6e2a6b5ff657f58c66859256f4ad87f4d9f27423 @spocke spocke committed Mar 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jscripts/tiny_mce/classes/html/Schema.js
@@ -629,7 +629,7 @@
elements.img.attributesDefault = [{name: 'alt', value: ''}];
// Remove these if they are empty by default
- each(split('ol,ul,sub,sup,blockquote,span,font,a,table,tbody,tr'), function(name) {
+ each(split('ol,ul,sub,sup,blockquote,span,font,a,table,tbody,tr,strong,em,b,i'), function(name) {
if (elements[name]) {
elements[name].removeEmpty = true;
}

0 comments on commit 6e2a6b5

Please sign in to comment.