Update textWysiwyg.tsx

This commit is contained in:
zsviczian 2022-03-13 23:30:43 +01:00 committed by GitHub
parent 5dbcf64353
commit 994f2a3f1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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