fix not using className when querying container (#1420)
This commit is contained in:
parent
0e94303791
commit
692ceece65
@ -175,7 +175,7 @@ export function textWysiwyg({
|
||||
const onPointerDown = (event: MouseEvent) => {
|
||||
if (
|
||||
event.target instanceof HTMLElement &&
|
||||
event.target.closest(CLASSES.SHAPE_ACTIONS_MENU) &&
|
||||
event.target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) &&
|
||||
!isWritableElement(event.target)
|
||||
) {
|
||||
editable.onblur = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user