Skip to content

Add headless contenteditable core#190

Merged
developer-1px merged 4 commits into
mainfrom
thin-contenteditable-dom
Jun 24, 2026
Merged

Add headless contenteditable core#190
developer-1px merged 4 commits into
mainfrom
thin-contenteditable-dom

Conversation

@developer-1px

Copy link
Copy Markdown
Owner

Summary

  • add a DOM-free contenteditable core that owns native input/composition leases, selection sync, clipboard planning, and history dispatch
  • reduce the web adapter to DOM observation/restoration, native event binding, and ClipboardEvent I/O
  • move structured text-surface fragment helpers out of ClipboardEvent code and export the new core interface
  • add Node-environment tests for native input, IME composition, copy/cut/paste fragments, and selection-based paste

Verification

  • npm run typecheck -w @interactive-os/json-document-contenteditable-web
  • npm test -w @interactive-os/json-document-contenteditable-web
  • npm run typecheck -w @interactive-os/json-document-contenteditable-react
  • npm test -w @interactive-os/json-document-contenteditable-react
  • npm run extensions:check
  • npm run docs:generate
  • npm run docs:evaluate
  • npm run extensions:verify
  • git diff --check

@developer-1px developer-1px merged commit 7519865 into main Jun 24, 2026
3 checks passed
@developer-1px developer-1px deleted the thin-contenteditable-dom branch June 24, 2026 07:57
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