Search first
What Happened?
Related issue: #10729
Demo:

Reproduce the Bug
- Insert block via API call:
logseq.api.insert_batch_block('<any block UUID>', {content: 'TEST\n next line'}, {before: false, sibling: true}) — note 3 spaces before second content line
- Note the inserted content: it contains only 1 space before second line
Expected Behavior
Do not cut content via API insertion at all.
Desktop or Mobile Platform Information
MacOS v13.4
Logseq Desktop v0.10.1