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

Bug: Cannot switch from Preview mode to other view modes via keyboard shortcut #452

Open
alphacoma18 opened this issue Nov 2, 2022 · 1 comment

Comments

@alphacoma18
Copy link
Contributor

Good day. This is the second part of the issue (first part: #441)

There is a bug in the editor that when I switch from other view modes (ctrl + 7, 8, or 10) to preview mode (ctrl + 9), I cannot switch to other view modes using keyboard shortcuts anymore. I noticed that this is because the textarea editor is where the shortcuts/event listeners are attached to but it is missing from the DOM (probably had display: none) because of preview mode.

@jaywcjlove

@jaywcjlove
Copy link
Member

@alphacoma18 I haven't found a good way to handle it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants