Add initial tests on property handler

This commit is contained in:
Tienson Qin
2023-11-30 00:33:48 +08:00
parent 1117ad3cb4
commit f342303e6a
10 changed files with 255 additions and 21 deletions

View File

@@ -204,7 +204,7 @@
(assoc (pu/get-pid :id) (str id)))
properties (->>
(wrap-props props)
(property-handler/replace-key-with-id! (state/get-current-repo)))]
(property-handler/replace-key-with-id (state/get-current-repo)))]
(when (string? text)
(editor-handler/api-insert-new-block!
text (merge {:page (:block/name ref-page)