Update textWysiwyg.tsx
This commit is contained in:
parent
994f2a3f1e
commit
326da61573
@ -551,7 +551,10 @@ export const textWysiwyg = ({
|
||||
setTimeout(() => {
|
||||
editable.onblur = () => {
|
||||
app.setState({
|
||||
toastMessage: "debug: " + target?.tagName ?? "no tagName",
|
||||
toastMessage: "debug: " +
|
||||
target instanceof HTMLElement
|
||||
? target.tagName ?? "no tagName"
|
||||
: "not an HTMLElement",
|
||||
});
|
||||
if (isShapeActionsPanel) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user