Skip to content

Commit

Permalink
fix: support draggable for image
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Jul 31, 2024
1 parent 322f641 commit 3e3635b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
:host {
display: inline-block;

&[data-drag-handle] {
cursor: move;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class TuiImageEditor extends AbstractTuiEditorResizable<TuiEditableImage>
private readonly win = inject(WINDOW);

@HostBinding('attr.contenteditable')
protected contenteditable = true;
protected contenteditable = false;

protected focused = false;

Expand Down

0 comments on commit 3e3635b

Please sign in to comment.