[BUG?] Use `ctrl+A` to select all need press twice
Zeng1998 opened this issue · comments
Zeng1998 commented
-
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
- git clone the latest commit of the repo (version 0.2.5)
- run
pnpm dev
- visit
http://localhost:5173
- press
ctrl+A
, but fail to select all. - 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)