diff --git a/projects/editor/src/extensions/image-editor/image-editor.component.less b/projects/editor/src/extensions/image-editor/image-editor.component.less index f141071d1..bdcc2e684 100644 --- a/projects/editor/src/extensions/image-editor/image-editor.component.less +++ b/projects/editor/src/extensions/image-editor/image-editor.component.less @@ -1,4 +1,6 @@ :host { + display: inline-block; + &[data-drag-handle] { cursor: move; } diff --git a/projects/editor/src/extensions/image-editor/image-editor.component.ts b/projects/editor/src/extensions/image-editor/image-editor.component.ts index 08f9fb53f..96916bb00 100644 --- a/projects/editor/src/extensions/image-editor/image-editor.component.ts +++ b/projects/editor/src/extensions/image-editor/image-editor.component.ts @@ -31,7 +31,7 @@ export class TuiImageEditor extends AbstractTuiEditorResizable private readonly win = inject(WINDOW); @HostBinding('attr.contenteditable') - protected contenteditable = true; + protected contenteditable = false; protected focused = false;