Update textWysiwyg.tsx

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

View File

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