facebookarchive/draft-js

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

Aperta

#487 aperta il 25 giu 2016

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

Metriche repository

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

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