X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Ffakeobjects%2Fplugin.js;h=0b173c261964511dcd40682ccbca58ef32e9d457;hb=refs%2Ftags%2Fv3.2.2;hp=14f035755a423ada90146a9d628d2d6a482f90e4;hpb=e7789c1ad838194d45eeee6ac2eb6e55f5cf35a1;p=ckeditor.git diff --git a/_source/plugins/fakeobjects/plugin.js b/_source/plugins/fakeobjects/plugin.js index 14f0357..0b173c2 100644 --- a/_source/plugins/fakeobjects/plugin.js +++ b/_source/plugins/fakeobjects/plugin.js @@ -70,7 +70,8 @@ CKEDITOR.editor.prototype.createFakeElement = function( realElement, className, src : CKEDITOR.getUrl( 'images/spacer.gif' ), _cke_realelement : encodeURIComponent( realElement.getOuterHtml() ), _cke_real_node_type : realElement.type, - alt : lang[ realElementType ] || lang.unknown + alt : lang[ realElementType ] || lang.unknown, + align : realElement.getAttribute( 'align' ) || '' }; if ( realElementType ) @@ -97,7 +98,8 @@ CKEDITOR.editor.prototype.createFakeParserElement = function( realElement, class src : CKEDITOR.getUrl( 'images/spacer.gif' ), _cke_realelement : encodeURIComponent( html ), _cke_real_node_type : realElement.type, - alt : lang[ realElementType ] || lang.unknown + alt : lang[ realElementType ] || lang.unknown, + align : realElement.attributes.align || '' }; if ( realElementType )