Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ctrl+y shortcut for redo #277

Open
ctmbl opened this issue Jan 10, 2025 · 2 comments
Open

Add ctrl+y shortcut for redo #277

ctmbl opened this issue Jan 10, 2025 · 2 comments
Labels
suggestion An enhancement that may be considered in the future

Comments

@ctmbl
Copy link

ctmbl commented Jan 10, 2025

Hi @dullage, thanks a lot for creating and maintaining flatnotes, I really love the simplicity/usability/UX of the project!

I was wondering if you already considered adding a redo feature (as opposed to undo / ctrl+z)?
I really don't know if it is easy or even feasible but it would be a nice feature imo, from my personal experience ctrl+y is a rather classical shortcut for such feature.

Let me know what you think of this 😉

@dullage
Copy link
Owner

dullage commented Jan 14, 2025

Hey @ctmbl. Testing this in Firefox on my Mac and CTRL+Y works as expected. But in Firefox on my Windows machine, it doesn't.

To be honest, I'm not sure if the editor component is responsible for this task or the browser.

But what I did find is that the editor component supports a redo shortcut of CTRL+SHIFT+Z.

I hope this helps.

@dullage dullage added the triage required Requires input from a maintainer label Jan 14, 2025
@ctmbl
Copy link
Author

ctmbl commented Jan 14, 2025

To be honest, I'm not sure if the editor component is responsible for this task or the browser.

Nor do I 😕

But what I did find is that the editor component supports a redo shortcut of CTRL+SHIFT+Z.

This is good enough then!
Because it is not an easy shortcut to be find, would you consider adding it to the wiki, maybe with a precision saying that it isn't a feature of flatnotes strictly speaking?
EDIT: On second thought, and after googling for ctrl+shift+z it seems like both this one and ctrl+y are pretty standard redo shortcut 😅 I just never had heard of the former for some reason 😕

Also (even if I got that it was a Toast UI bug, and that the issue is closed) it kind of provide a solution to #271

In any case tks a lot! Feel free to close this one if you want to 🙂

@dullage dullage added suggestion An enhancement that may be considered in the future and removed triage required Requires input from a maintainer labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion An enhancement that may be considered in the future
Projects
None yet
Development

No branches or pull requests

2 participants