support page create/rename/delete in rtc

This commit is contained in:
rcmerci
2023-08-30 22:10:55 +08:00
parent 27ccf55d11
commit 510df28e06
8 changed files with 132 additions and 155 deletions

View File

@@ -274,7 +274,7 @@
(when (and (:block/pre-block? block')
(not (string/blank? title))
(not= (util/page-name-sanity-lc title) old-page-name))
(state/pub-event! [:page/title-property-changed old-page-name title])))
(state/pub-event! [:page/title-property-changed old-page-name title true])))
(js/console.error (str "Title is not a string: " title))))))))
;; id: block dom id, "ls-block-counter-uuid"