1 repo
Tools for programmatically handling text selection, cursor positioning, and viewport synchronization in web-based editors.
Distinguishing note: Focuses on the programmatic control of user selection ranges and viewport visibility rather than general UI state management.
Explore 1 awesome GitHub repository matching user interface & experience · Selection Management APIs. Refine with filters or upvote what's useful.
Quill is a modular, web-based rich text editor designed for structured content authoring. It provides a comprehensive toolkit for building tailored editing experiences, allowing developers to manage document state, handle user input, and synchronize content through a predictable, serializable data model. The editor distinguishes itself through a custom document abstraction that maps the browser DOM to a structured tree of nodes, ensuring consistent behavior across different environments. It utilizes an operational change tracking system that represents all document modifications as a sequence
The editor gets or sets the current selection range, calculates pixel bounds for specific content, and scrolls the selection into the visible viewport.