react-umeditor icon indicating copy to clipboard operation
react-umeditor copied to clipboard

组件功能建议

Open whx76 opened this issue 8 years ago • 1 comments

1 、实现@提及功能,并能知道当前位置,在编辑内容中输入@可以根据不同位置获取不同的提及内容 参考 image

2、 开放keydown及keyup等接口,并能知道当前文档内容位置,便于根据输入内容做些校验等工作。

3、开放一个原生的umeditor对象,可以使用umeditor对象的相关方法

whx76 avatar Dec 13 '16 01:12 whx76

第3点,这个可能没发办到,react-umeditor只是用了umeditor的ui,不是对umeditor的简单封装。 @ 功能的话,可能需要你自己去实现。暂且,只能开放onKeyDown和onKeyUp事件。

liuhong1happy avatar Dec 13 '16 05:12 liuhong1happy