Update textWysiwyg.tsx

This commit is contained in:
zsviczian
2022-03-13 23:17:19 +01:00
committed by GitHub
parent b610c04481
commit eda2320dae

View File

@@ -546,8 +546,7 @@ export const textWysiwyg = ({
(target instanceof HTMLElement || target instanceof SVGElement) &&
(target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) ||
target.closest(`.${CLASSES.SHAPE_ACTIONS_MOBILE_MENU}`) ||
target.closest(`.${CLASSES.MOBILE_TOOLBAR}`)) &&
!isWritableElement(target);
target.closest(`.${CLASSES.MOBILE_TOOLBAR}`));
setTimeout(() => {
editable.onblur = () => {