diff --git a/common/src/app/common/text.cljc b/common/src/app/common/text.cljc index 84cc27b218..9e635f6a03 100644 --- a/common/src/app/common/text.cljc +++ b/common/src/app/common/text.cljc @@ -130,8 +130,8 @@ (defn is-text-node? [node] - (and (string? (:text node)) - (not= (:text node) ""))) + (and (nil? (:type node)) + (string? (:text node)))) (defn is-paragraph-set-node? [node]