facebookarchive/draft-js

Ctrl-K (Mac) should delete to newline, not block end

Ouverte

#487 ouverte le 25 juin 2016

 (5 commentaires) (0 réaction) (1 personne assignée)JavaScript (2 646 forks)batch import
help wanted

Métriques du dépôt

Stars
 (22 554 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

Usually blocks don't have newlines in them, but when they do (shift-enter in a list item, for example), Ctrl-K should delete to the newline, not the end of the block.

Also, Ctrl-K should delete an empty block.

Guide contributeur