Repository navigation
v0.2.0-alpha04
🌟 Key Highlights
- Undo/Redo Engine Integration ⏪⏩
- Naturally groups continuous typing operations into a single undo step, allowing users to undo changes smoothly rather than character by character.
- Automatically intercepts standard Undo/Redo keyboard shortcuts (e.g., Ctrl+Z / Ctrl+Shift+Z) within the
RichTextEditorcomponent. - Seamlessly integrates with
RichTextStatevia the newundoStateproperty for direct API access to Undo/Redo actions.
AttributeContainerAPI Enhancement 🛠️- Improved the developer experience for manipulating rich text attributes by supporting standard Kotlin bracket access (e.g.,
container[key]).
- Improved the developer experience for manipulating rich text attributes by supporting standard Kotlin bracket access (e.g.,
- Sample App & Documentation Updates 📖
- Added a brand new
UndoRedoSampleto demonstrate rich text attribute manipulation combined with undo/redo actions. - Upgraded the
ChatInputSampleinto a full-screenDocumentEditorSample. - Enriched the
README.mdwith detailed Undo/Redo API instructions and fresh GIF demonstrations of the editor in action.
- Added a brand new
⚠️ Breaking Changes
AttributeContainer.getOrNull(key)has been removed. Please use the bracket accesscontainer[key]instead.
What's Changed
- refactor(richtext): replace getOrNull with get operator for bracket access by @mkeeda in #55
- feat(richtext-editor): integrate undo/redo engine and refactor architecture by @mkeeda in #56
- docs(sample): add Undo/Redo documentation and refactor sample app by @mkeeda in #57
- chore(release): prepare release v0.2.0-alpha04 by @mkeeda in #58
Full Changelog: v0.2.0-alpha03...v0.2.0-alpha04