facebookarchive/draft-js

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

开放

#487 创建于 2016年6月25日

 (5 条评论) (0 个反应) (1 位负责人)JavaScript (2,646 个派生)batch import
help wanted

仓库指标

星标
 (22,554 个星标)
PR 合并指标
 (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.

贡献者指南