Update textWysiwyg.tsx

This commit is contained in:
zsviczian 2022-03-14 07:11:12 +01:00 committed by GitHub
parent d3cbceb7fa
commit 531829d95e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -564,7 +564,10 @@ export const textWysiwyg = ({
}); });
handleSubmit(); handleSubmit();
}; };
if (target && isTargetColorPicker) { if (
target &&
(isTargetColorPicker || isShapeActionsPanel)
) {
target.onblur = () => { target.onblur = () => {
editable.focus(); editable.focus();
}; };