visual-space / visual-editor

Rich text editor for Flutter based on Delta format (Quill fork)
MIT License
283 stars 44 forks source link

Document - Not all changes respond to the undo hotkey #13

Closed adrian-moisa closed 1 year ago

adrian-moisa commented 2 years ago

Undo does not restore styling changes, only character content edits are restored. Apparently the undo feature works for styles only by pressing the undo redo buttons. Not from the keyboard. Only changing characters works from keyboard. That is sign of some bad architecture. The behaviours should be matching at all times. This is issue that I've inherited from Flutter Quill when forking it.

https://user-images.githubusercontent.com/11160141/169511794-184e8822-4f03-4c24-94c9-1ec89800e4c1.mov

Join on discord to get advice and help or follow us on YouTube Visual Coding to learn more about the architecture of Visual Editor and other Flutter apps.

adrian-moisa commented 1 year ago

Duplicate of #50