codex-team/editor.js

[Bug] Ctl A twice + Ctl-V doesn’t replace the whole content of the page

Open

#1,705 opened on Jun 4, 2021

View on GitHub
 (3 comments) (1 reaction) (0 assignees)TypeScript (26,602 stars) (1,985 forks)batch import
good first issuenice to have

Description

Copy some text, then on official demo, select all content (ctrl A + ctrl A) and try to paste. Nothing happens.

This is a minor bug, because a quick workaround is to delete the text prior to paste the content of the clipboard.

Steps to reproduce:

  1. Copy some text
  2. Go to https://editorjs.io
  3. Select all content, by typing ctrl A + ctrl A
  4. Try to paste

Device, Browser, OS: Macbook Pro, Chrome 91, Catalina

Editor.js version: the one on the official website

Contributor guide