facebookarchive/draft-js

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

Open

#487 aberto em 25 de jun. de 2016

Ver no GitHub
 (5 comments) (0 reactions) (1 assignee)JavaScript (22.554 stars) (2.646 forks)batch import
help wanted

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.

Guia do colaborador