Update textWysiwyg.tsx
This commit is contained in:
parent
b610c04481
commit
eda2320dae
@ -546,8 +546,7 @@ export const textWysiwyg = ({
|
|||||||
(target instanceof HTMLElement || target instanceof SVGElement) &&
|
(target instanceof HTMLElement || target instanceof SVGElement) &&
|
||||||
(target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) ||
|
(target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) ||
|
||||||
target.closest(`.${CLASSES.SHAPE_ACTIONS_MOBILE_MENU}`) ||
|
target.closest(`.${CLASSES.SHAPE_ACTIONS_MOBILE_MENU}`) ||
|
||||||
target.closest(`.${CLASSES.MOBILE_TOOLBAR}`)) &&
|
target.closest(`.${CLASSES.MOBILE_TOOLBAR}`));
|
||||||
!isWritableElement(target);
|
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
editable.onblur = () => {
|
editable.onblur = () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user