mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 19:36:35 +00:00
fix(editor): pressing enter right after the first bullet of a page will append ##
Resolved #1050
This commit is contained in:
@@ -653,7 +653,9 @@
|
||||
(str fst-block-text "\n" snd-block-text)
|
||||
value)
|
||||
text-properties (text/extract-properties fst-block-text)
|
||||
value (block-text-with-time block format value text-properties)
|
||||
value (if (zero? pos)
|
||||
value
|
||||
(block-text-with-time block format value text-properties))
|
||||
value (rebuild-block-content value format)
|
||||
[new-content value] (new-file-content block file-content value)
|
||||
parse-result (block/parse-block (assoc block :block/content value) format)
|
||||
|
||||
Reference in New Issue
Block a user