- alignfull : {selector : alignElements, attributes : {align : 'full'}},\r
-\r
- // Change the basic formatting elements to use deprecated element types\r
- bold : {inline : 'b'},\r
- italic : {inline : 'i'},\r
- underline : {inline : 'u'},\r
- strikethrough : {inline : 'strike'},\r
+ alignfull : {selector : alignElements, attributes : {align : 'justify'}},\r
+\r
+ // Change the basic formatting elements to use deprecated element types
+ bold : [\r
+ {inline : 'b', remove : 'all'},\r
+ {inline : 'strong', remove : 'all'},\r
+ {inline : 'span', styles : {fontWeight : 'bold'}}\r
+ ],\r
+ italic : [\r
+ {inline : 'i', remove : 'all'},\r
+ {inline : 'em', remove : 'all'},\r
+ {inline : 'span', styles : {fontStyle : 'italic'}}\r
+ ],\r
+ underline : [\r
+ {inline : 'u', remove : 'all'},\r
+ {inline : 'span', styles : {textDecoration : 'underline'}, exact : true}\r
+ ],\r
+ strikethrough : [\r
+ {inline : 'strike', remove : 'all'},\r
+ {inline : 'span', styles : {textDecoration: 'line-through'}, exact : true}\r
+ ],