facebookarchive/draft-js

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

Open

#487 opened on 2016年6月25日

GitHub で見る
 (5 comments) (0 reactions) (1 assignee)JavaScript (2,646 forks)batch import
help wanted

Repository metrics

Stars
 (22,554 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド