mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-10-05 15:19:47 +02:00
Update textWysiwyg.tsx
This commit is contained in:
@@ -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 = () => {
|
||||||
|
Reference in New Issue
Block a user