banyudu / kedao

React 编辑器,从 braft-editor 修改而来,基于 draft-js 实现
https://kedao.vercel.app
MIT License
7 stars 2 forks source link

fix: default backspace handling #3

Closed fengkx closed 2 years ago

fengkx commented 2 years ago

https://github.com/margox/braft-editor/blob/master/src/configs/handlers.js#L34

原版不提供onDelete时默认会走unhandle,现在这样会进handled 导致backspace 删不了东西

banyudu commented 2 years ago

好的,看来有必要加一些测试代码了,原来的重构过程引入了一些bug

banyudu commented 2 years ago

已发布新版本 0.0.5