diff --git a/plugins/image2/plugin.js b/plugins/image2/plugin.js
index 3d142c9c7ae..907b4f95dfc 100644
--- a/plugins/image2/plugin.js
+++ b/plugins/image2/plugin.js
@@ -212,16 +212,9 @@
height: image.getAttribute( 'height' ) || ''
};
- // If element was marked as centered when upcasting, update
- // the alignment both visually and in widget data.
- if ( this.element.data( 'cke-centered' ) ) {
- this.element.data( 'cke-centered', false );
- data.align = 'center';
- }
-
- // Otherwise, read initial float style from figure/image and
+ // Read initial float style from figure/image and
// then remove it. This style will be set on wrapper in #data listener.
- else {
+ if ( !data.align ) {
data.align = this.element.getStyle( 'float' ) || image.getStyle( 'float' ) || 'none';
this.element.removeStyle( 'float' );
image.removeStyle( 'float' );
@@ -434,7 +427,7 @@
// Creates widgets from all and