fix: typing markdown heading displays correctly

Also fixed structured tag popup displaying
in heading which didn't make sense. Since this was fixed
right after gp-block/extract-blocks is called, this likely
fixed related issues where format/extract-blocks is called e.g. paste.
Fixes LOG-2821.
This commit is contained in:
Gabriel Horner
2023-10-23 17:57:39 -04:00
parent 9fd8013a4c
commit f1d17ad56b
4 changed files with 37 additions and 8 deletions

View File

@@ -32,6 +32,11 @@
[uuid]
(:block/original-name (db/entity [:block/uuid uuid])))
(defn get-built-in-property-uuid
"Get a property's uuid given its name"
[property-name]
(:block/uuid (db/entity [:block/name (name property-name)])))
(defn get-pid
"Get a property's id (name or uuid) given its name"
[property-name]