Skip to content

Releases

v0.1.2

Choose a tag to compare

@chendefine chendefine released this 11 Sep 06:44

Fix

Keep the caret on the emptied line when a list marker dies.

  • Shift+Enter on an empty list item (exit) and Shift+Tab / Backspace-after-the-atom (unlist) now always park the caret on the line the marker was removed from — wherever the item sat: trailing, mid-paragraph between items, or the block's first line. Previously the caret rolled onto the previous item's end or jumped to the next line's head.
  • placeFlatCaret gains line-head priority: an element selection right after the <br> ending at the target offset (plus a block-head rule for a leading <br>), instead of clamping onto a neighbor line's first text leaf; erased zero-length marker husk leaves are stripped.
  • Text projection unchanged — the submitted text stays literal Markdown, byte-for-byte.

Full Changelog: v0.1.1...v0.1.2