codex-team/editor.js

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

Aperta

#1705 aperta il 4 giu 2021

 (3 commenti) (1 reazione) (0 assegnatari)TypeScript (1985 fork)batch import
good first issuenice to have

Metriche repository

Star
 (26.602 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor