Documentation

website.modules.markdown-editor.anchors

Pending insertion points belong to the upload queue, never the Markdown text.

change-schema

common-prefix-length

(common-prefix-length before after)

insert-image

(insert-image text position markdown)

map-position

(map-position position changes)

Map an insertion point through ordered original-document changes. Deleting across a chip removes its anchor; typing at its right-hand caret keeps it before that text.

map-positions

(map-positions positions changes)

positions-schema

text-change

(text-change before after)

External edits use one bounded replacement; native source transactions supply exact changes.