chore: clear codes

This commit is contained in:
rcmerci
2021-05-14 16:22:48 +08:00
committed by Tienson Qin
parent a7a9f649c2
commit 4fe8d751d6
3 changed files with 5 additions and 4 deletions

View File

@@ -364,7 +364,7 @@
format (or format (state/get-preferred-format))
page (db/entity repo (:db/id page))
block-id (when (map? properties) (get properties :id))
content (text/remove-built-in-properties! format content)]
content (property/remove-built-in-properties format content)]
(cond
(another-block-with-same-id-exists? uuid block-id)
(notification/show!