Update textWysiwyg.tsx

This commit is contained in:
zsviczian 2022-03-13 23:17:19 +01:00 committed by GitHub
parent b610c04481
commit eda2320dae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 = () => {