mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 10:56:32 +00:00
remove redundant ! on property-related funcs & add some tests
enter the commit message for your changes. Lines starting
This commit is contained in:
@@ -1392,7 +1392,7 @@
|
||||
(editor-handler/unhighlight-blocks!)
|
||||
(let [block (or (db/pull [:block/uuid (:block/uuid block)]) block)
|
||||
f #(let [cursor-range (util/caret-range (gdom/getElement block-id))
|
||||
content (property/remove-built-in-properties! (:block/format block)
|
||||
content (property/remove-built-in-properties (:block/format block)
|
||||
content)]
|
||||
(state/set-editing!
|
||||
edit-input-id
|
||||
|
||||
Reference in New Issue
Block a user