Update textWysiwyg.tsx

This commit is contained in:
zsviczian
2022-03-13 23:38:54 +01:00
committed by GitHub
parent 326da61573
commit 9e17b64e5e

View File

@@ -552,9 +552,9 @@ export const textWysiwyg = ({
editable.onblur = () => {
app.setState({
toastMessage: "debug: " +
target instanceof HTMLElement
(target instanceof HTMLElement
? target.tagName ?? "no tagName"
: "not an HTMLElement",
: "not an HTMLElement"),
});
if (isShapeActionsPanel) {
return;