Update textWysiwyg.tsx

This commit is contained in:
zsviczian
2022-03-13 23:43:03 +01:00
committed by GitHub
parent 9e17b64e5e
commit 73111500d3

View File

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