X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Ffakeobjects%2Fplugin.js;h=0b173c261964511dcd40682ccbca58ef32e9d457;hb=8665a7c6c60586526e32e8941fe2896739b6ebfb;hp=14f035755a423ada90146a9d628d2d6a482f90e4;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6;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 )