mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-10-31 02:44:50 +01:00 
			
		
		
		
	Update textWysiwyg.tsx
This commit is contained in:
		| @@ -543,12 +543,12 @@ export const textWysiwyg = ({ | |||||||
|       isWritableElement(target); |       isWritableElement(target); | ||||||
|   |   | ||||||
|     const isShapeActionsPanel = |     const isShapeActionsPanel = | ||||||
|       (event.target instanceof HTMLElement || |       (target instanceof HTMLElement || | ||||||
|         event.target instanceof SVGElement) && |         target instanceof SVGElement) && | ||||||
|       (event.target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) || |       (target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) || | ||||||
|         event.target.closest(`.${CLASSES.SHAPE_ACTIONS_MOBILE_MENU}`) || |         target.closest(`.${CLASSES.SHAPE_ACTIONS_MOBILE_MENU}`) || | ||||||
|         event.target.closest(`.${CLASSES.MOBILE_TOOLBAR}`)) && |         target.closest(`.${CLASSES.MOBILE_TOOLBAR}`)) && | ||||||
|       !isWritableElement(event.target); |       !isWritableElement(target); | ||||||
|  |  | ||||||
|     setTimeout(() => { |     setTimeout(() => { | ||||||
|       editable.onblur = () => { |       editable.onblur = () => { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 zsviczian
					zsviczian