codex-team/editor.js

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

Open

#1 705 ouverte le 4 juin 2021

Voir sur GitHub
 (3 commentaires) (1 réaction) (0 assignés)TypeScript (1 985 forks)batch import
good first issuenice to have

Métriques du dépôt

Stars
 (26 602 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur