Closed mrfambo closed 5 years ago
DraftJS Documentation and Naming Conventions are so confusing and it makes you feel so terrible !! I want to know how to get Composite Decorator, findEntities and Link.
@mrfambo sorry for the delay , do you still have issues with this ? check https://github.com/michelson/dante2/blob/master/src/docs/theme.js there you have a complete implementation
feel free to reopen if needed
best
Hello, i am implementing
<Dante debug={true} widgets={[CodeBlockConfig()]} decorators={context => { return new MultiDecorator([ PrismDraftDecorator({ prism: Prism }), new CompositeDecorator([ { strategy: findEntities.bind(null, 'LINK', context), component: Link, }, ]), ]) }} />
After a huge stress i came to know how to get
Now i am very confused about:
Seems like documentation is very pro level not for beginners. Once i have the knowledge i will surely PR and update and the Docs for basic level too !!!