standardnotes / plus-editor

[Moved to https://github.com/standardnotes/app] The Plus Editor is a Standard Notes derived editor that is perfect for crafting any document.
GNU Affero General Public License v3.0
6 stars 12 forks source link

Undo does not work for changes made to text format #30

Open effieeee opened 4 years ago

effieeee commented 4 years ago

A user reported that undo (Ctrl+Z) is currently unable to reverse changes made to the text format (changes in font family or style). I was able to reproduce this on Windows 10 desktop app (v3.4.1), and web app (Chrome 83.0.4103.97), and it seems to happen regardless of how much or how little text I make changes to.

They also mentioned that they couldn't undo pasted text, though I was not able to reproduce that in particular.

ningsongshen commented 4 years ago

This would be more of an upstream issue for summernote. I did a quick look through their repository and found a few bits of information that describe how their undo function works:

I can go ahead and create a feature request in the summernote repository to see if they can implement this.