marktext / muya

📄 Future markdown editor for web browser applications development
MIT License
615 stars 54 forks source link

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

Open Zeng1998 opened 7 months ago

Zeng1998 commented 7 months ago

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):

Muya Version e.g: 0.2.5

Screenshots / Screencasts(Optional)

github

xygengcn commented 2 months ago

+1

sunshineshenjin commented 2 months ago

这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。