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?] Use ctrl+A to select all need press twice #148

Open
2 tasks done
Zeng1998 opened this issue Jan 29, 2024 · 2 comments
Open
2 tasks done

[BUG?] Use ctrl+A to select all need press twice #148

Zeng1998 opened this issue Jan 29, 2024 · 2 comments

Comments

@Zeng1998
Copy link
Contributor

Zeng1998 commented Jan 29, 2024

  • Searched existing issues to avoid creating duplicates.

  • Confirmed that it can be reproduced in muya.


Describe the bug
need press ctrl+A twice to select all contents.

To Reproduce

  1. git clone the latest commit of the repo (version 0.2.5)
  2. run pnpm dev
  3. visit http://localhost:5173
  4. press ctrl+A, but fail to select all.
  5. press ctrl+A again, success.

Expected behavior
press ctrl+A once to select all content.

Actual behavior
need press twice to do that.

BTW, is it possible to controll to copy the rich text or the plain markdown text of the selection.

Operation System and Browser version (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome 121.0.6167.86 (Official Build) (64-bit)

Muya Version
e.g: 0.2.5

Screenshots / Screencasts(Optional)

github

@xygengcn
Copy link

+1

@sunshineshenjin
Copy link

sunshineshenjin commented Jun 16, 2024 via email

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

3 participants