simplify pipeline

This commit is contained in:
Tienson Qin
2024-01-11 20:17:11 +08:00
parent a81229576d
commit 96c9e8d7d5
7 changed files with 31 additions and 49 deletions

View File

@@ -13,7 +13,6 @@
[goog.dom :as gdom]
[logseq.graph-parser.block :as gp-block]
[frontend.config :as config]
[frontend.util.drawer :as drawer]
[frontend.handler.file-based.property.util :as property-util]
[frontend.handler.property.util :as pu]
[dommy.core :as dom]
@@ -247,10 +246,7 @@
:else
(subs content 0 pos))
content (if db-graph?
content
(-> (property-util/remove-built-in-properties (:block/format block) content)
(drawer/remove-logbook)))]
content (property-util/sanity-block-content repo (:block/format block) content)]
(state/clear-selection!)
(edit-block-aux repo block content block-node text-range opts)))))