Skip to content

v0.2.0-alpha04

Choose a tag to compare

@mkeeda mkeeda released this 16 May 02:26
· 425 commits to main since this release
6d3e643

🌟 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 RichTextEditor component.
    • Seamlessly integrates with RichTextState via the new undoState property for direct API access to Undo/Redo actions.
  • AttributeContainer API Enhancement 🛠️
    • Improved the developer experience for manipulating rich text attributes by supporting standard Kotlin bracket access (e.g., container[key]).
  • Sample App & Documentation Updates 📖
    • Added a brand new UndoRedoSample to demonstrate rich text attribute manipulation combined with undo/redo actions.
    • Upgraded the ChatInputSample into a full-screen DocumentEditorSample.
    • Enriched the README.md with detailed Undo/Redo API instructions and fresh GIF demonstrations of the editor in action.

⚠️ Breaking Changes

  • AttributeContainer.getOrNull(key) has been removed. Please use the bracket access container[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