diff --git a/app/assets/js/admin/grapesjs/plugins/grapesjs-custom-image-plugin.js b/app/assets/js/admin/grapesjs/plugins/grapesjs-custom-image-plugin.js index 30aaf6f77f..52fee1d8e4 100644 --- a/app/assets/js/admin/grapesjs/plugins/grapesjs-custom-image-plugin.js +++ b/app/assets/js/admin/grapesjs/plugins/grapesjs-custom-image-plugin.js @@ -32,6 +32,7 @@ export default grapesjs.plugins.add('custom-image', (editor) => { }, defaults: { + resizable: false, attributes: { [imagePositionDataAttribute]: 'left', class: ['image-position-left'] diff --git a/app/assets/js/admin/grapesjs/plugins/grapesjs-text-with-image-plugin.js b/app/assets/js/admin/grapesjs/plugins/grapesjs-text-with-image-plugin.js index 0f8339ce3b..8f81021cd4 100644 --- a/app/assets/js/admin/grapesjs/plugins/grapesjs-text-with-image-plugin.js +++ b/app/assets/js/admin/grapesjs/plugins/grapesjs-text-with-image-plugin.js @@ -64,6 +64,7 @@ export default grapesjs.plugins.add('text-with-image', editor => { draggable: false, copyable: false, droppable: false, + resizable: false, propagate: ['removable', 'draggable', 'copyable', 'droppable'], attributes: { [IMAGE_POSITION_DATA_ATTRIBUTE]: IMAGE_POSITION_LEFT,