Skip to content

Tags

Tags

carta-md-v4.11.5

Toggle carta-md-v4.11.5's commit message
fix(#184): escape HTML on first speculative update

carta-md-v4.11.4

Toggle carta-md-v4.11.4's commit message
chore: readd early return if lines array is empty

Add early return if no lines are found in the tree.

@cartamd/plugin-component-v1.1.2

Toggle @cartamd/plugin-component-v1.1.2's commit message
fix(#168): use hast property names for mapped component props

carta-md-v4.11.3

Toggle carta-md-v4.11.3's commit message
fix: keep the speculative diff baseline in sync when an update throws

`currentlyHighlightedValue` is only advanced on the success path, so when
speculativeHighlightUpdate() throws, the baseline keeps the pre-change
text while the debounced highlight still re-renders the overlay with the
new value. The baseline then no longer describes the overlay:

the next edit diffs from the stale text, the result does not line up with
the overlay's content, and the whole document ends up treated as "added"
and replayed into the existing overlay HTML. The text is drawn twice
(new value followed by the previous one) until the next debounce lands,
and — since a successful patch is what advances the baseline — the state
does not heal on its own.

The failed patch leaves the overlay untouched and the debounced highlight
is already on its way to render `value`, so sync the baseline there too.

carta-md-v4.11.2

Toggle carta-md-v4.11.2's commit message
fix(#171): focus on textarea on switching back to writing tab

carta-md-v4.11.1

Toggle carta-md-v4.11.1's commit message
fix: disable highlight overlay tabindex

carta-md-v4.11.0

Toggle carta-md-v4.11.0's commit message
feat: add preventTabCapture option

@cartamd/plugin-component-v1.1.1

Toggle @cartamd/plugin-component-v1.1.1's commit message
fix(#164): allow inline components

carta-md-v4.10.2

Toggle carta-md-v4.10.2's commit message
fix(#164): allow inline components

carta-md-v4.10.1

Toggle carta-md-v4.10.1's commit message
perf: improve speculative update performances

re: #157