Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
dotCMS/core#22015 The image on load is not centered
Browse files Browse the repository at this point in the history
  • Loading branch information
hmoreras authored Apr 13, 2022
1 parent 5bc1a86 commit 5f6fcdd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export class ImageBlockComponent extends AngularNodeViewComponent implements OnI
ngOnInit(): void {
this.data = this.node.attrs.data;
this.editor.on('update', this.updateImageAttributes.bind(this));
this.updateImageAttributes();
}

ngOnDestroy(): void {
Expand Down

0 comments on commit 5f6fcdd

Please sign in to comment.