react-lz-editor icon indicating copy to clipboard operation
react-lz-editor copied to clipboard

包含在getFieldDecorator里,无法undo/redo

Open morningbzy opened this issue 7 years ago • 2 comments

我将Editor包含在antd的form里,用getFiledDecorator装饰之后,Undo和Redo功能就实效了,请问在这种情况下我应该怎样正确使用呢?

morningbzy avatar Nov 15 '17 05:11 morningbzy

问题解决了吗?如果暂时不用getFiledDecorator的方式可不可以?

leejaen avatar Nov 23 '17 03:11 leejaen

嗯,暂时不用getFieldDecorator包装editor了,通过receiveHTML来把HTML内容转移到一个Input里面,用getFieldDecorator包装了Input,哈哈

morningbzy avatar Nov 26 '17 16:11 morningbzy