Update textWysiwyg.tsx

This commit is contained in:
zsviczian 2022-03-13 23:43:03 +01:00 committed by GitHub
parent 9e17b64e5e
commit 73111500d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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