facebookarchive/draft-js

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

Open

#487 建立於 2016年6月25日

在 GitHub 查看
 (5 留言) (0 反應) (1 負責人)JavaScript (2,646 fork)batch import
help wanted

倉庫指標

Star
 (22,554 star)
PR 合併指標
 (30 天內沒有已合併 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.

貢獻者指南