Update textWysiwyg.tsx

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

View File

@ -551,7 +551,7 @@ export const textWysiwyg = ({
setTimeout(() => { setTimeout(() => {
editable.onblur = () => { editable.onblur = () => {
app.setState({ app.setState({
toastMessage: toastMessage:
target instanceof HTMLElement target instanceof HTMLElement
? target.tagName ?? "no tagName" ? target.tagName ?? "no tagName"
: "not an HTMLElement", : "not an HTMLElement",