facebookarchive/draft-js

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

Offen

#487 geöffnet am 25.06.2016

 (5 Kommentare) (0 Reaktionen) (1 zugewiesene Person)JavaScript (2.646 Forks)batch import
help wanted

Repository-Metriken

Stars
 (22.554 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide