facebookarchive/draft-js

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

Open

#487 aperta il 25 giu 2016

Vedi su GitHub
 (5 commenti) (0 reazioni) (1 assegnatario)JavaScript (2646 fork)batch import
help wanted

Metriche repository

Star
 (22.554 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor