facebookarchive/draft-js

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

オープン

#487 opened on 2016/06/25

 (5 件のコメント) (0 件のリアクション) (1 人の担当者)JavaScript (2,646 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (22,554 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

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