Closed
Description
Hello
When I use from draft-js-plugins
I found that the DraftJS example : link didn't work with plugin's
It looks like decorator didn't has any effect
const decorator = new CompositeDecorator([ { strategy: findLinkEntities, component: Link, }, ]);
I have a sample code in this repo : https://github.com/DerekHung/link-draft-plugin-example
Would you help to solve this problem?
Thanks~
Activity
adrianmcli commentedon Aug 19, 2016
So let me clarify here. You're not trying to use the Link plugin? You are trying to use the draft-js-plugins editor, but it seems to be breaking the official draft-js link example?
DerekHung commentedon Aug 20, 2016
Yes,
I only use the draft-js-plugins component
DerekHung commentedon Aug 23, 2016
@adrianmc do you have any idea about this bug?
mzbac commentedon Aug 29, 2016
refer to FAQ.m. we are able to pass custom decorators on decorators props
nazarposhta commentedon Jun 19, 2018
@DerekHung did you resolve that problem?