From 531829d95e7bcea21cd6a37e0a7a988cba80a7da Mon Sep 17 00:00:00 2001 From: zsviczian Date: Mon, 14 Mar 2022 07:11:12 +0100 Subject: [PATCH] Update textWysiwyg.tsx --- src/element/textWysiwyg.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/element/textWysiwyg.tsx b/src/element/textWysiwyg.tsx index c52360830..a062101ad 100644 --- a/src/element/textWysiwyg.tsx +++ b/src/element/textWysiwyg.tsx @@ -564,7 +564,10 @@ export const textWysiwyg = ({ }); handleSubmit(); }; - if (target && isTargetColorPicker) { + if ( + target && + (isTargetColorPicker || isShapeActionsPanel) + ) { target.onblur = () => { editable.focus(); };