facebookarchive/draft-js

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

Open

#487 创建于 2016年6月25日

在 GitHub 查看
 (5 评论) (0 反应) (1 负责人)JavaScript (22,554 star) (2,646 fork)batch import
help wanted

描述

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.

贡献者指南