mirror of https://github.com/logseq/logseq
fix(editor): can't enter to create a new block at the end of code
parent
b0a6700ab9
commit
190ef803e4
|
@ -663,8 +663,11 @@
|
|||
text-properties)
|
||||
value (if create-new-block?
|
||||
(str
|
||||
(->
|
||||
(block-text-with-time block format fst-block-text properties)
|
||||
snd-block-text)
|
||||
(string/trimr))
|
||||
"\n"
|
||||
(string/triml snd-block-text))
|
||||
(block-text-with-time block format value properties))
|
||||
value (rebuild-block-content value format)
|
||||
[new-content value] (new-file-content block file-content value)
|
||||
|
|
Loading…
Reference in New Issue