FIX: Do not propagate on cut or double click in the editor
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
2a5f001361
commit
42c651da29
@@ -250,6 +250,8 @@ const Editor = (options: EditorOptions) => {
|
|||||||
}}
|
}}
|
||||||
onPaste={(event) => event.stopPropagation()}
|
onPaste={(event) => event.stopPropagation()}
|
||||||
onCopy={(event) => event.stopPropagation()}
|
onCopy={(event) => event.stopPropagation()}
|
||||||
|
onDoubleClick={(event) => event.stopPropagation()}
|
||||||
|
onCut={(event) => event.stopPropagation()}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user