fix(editor): properties save and clearing content when backspace

Closed https://github.com/logseq/logseq/issues/542
This commit is contained in:
Tienson Qin
2020-10-28 20:17:42 +08:00
parent 0d05b84fde
commit 51dfe14314
3 changed files with 16 additions and 9 deletions

View File

@@ -414,7 +414,7 @@
(assoc new-properties :old_permalink (:permalink old-properties))
new-properties)
value (cond
custom-properties
(seq custom-properties)
(text/re-construct-block-properties block value custom-properties)
(and (seq (:block/properties block))