Skip to content

feat(web): add inline formatting stores for the web input - #718

Open
sbarczyk wants to merge 6 commits into
feat/web-inputfrom
feat/web-input-formatting-store
Open

feat(web): add inline formatting stores for the web input#718
sbarczyk wants to merge 6 commits into
feat/web-inputfrom
feat/web-input-formatting-store

Conversation

@sbarczyk

@sbarczyk sbarczyk commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

First layer of the web EnrichedMarkdownTextInput. Plain string buffer plus inline style ranges (UTF-16 offsets), ported from Kotlin FormattingStore.kt and cross-checked against iOS.

  • model/: shared range and style types
  • RangeEditAdjustment: shifts, clips or drops ranges through text edits
  • FormattingStore: style queries, add/remove with merging and splitting, toggleStyle with fully-active semantics, atomic link selection

Tested with Jest; flow tests come with the shell layer. Bottom of the stack, targets feat/web-input.

@sbarczyk
sbarczyk changed the base branch from feat/web-input to main August 27, 2026 09:30
@sbarczyk
sbarczyk changed the base branch from main to feat/web-input August 27, 2026 09:31
@sbarczyk sbarczyk changed the title feat/web input formatting store feat(web): add inline formatting stores for the web input Aug 27, 2026
@sbarczyk
sbarczyk marked this pull request as ready for review August 27, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant