Open danijel2017 opened 3 years ago
You need to actually add the <RichEditor />
component and set the ref to the editor ref
<RichEditor ref={editor} />
You also need to wait for load RichEditor.
Add to
and create function:
const editorInitializedCallback = () => {
RichText.current?.registerToolbar(function (items) {});
};
getting same issue, any update on the solution?
same issue any update?
Just implemented the solution,
And done. It worked for me hope it helps any of you too.
really helpful, Thank you so much
Hi, I am using lib in functional component
const editorRef = useRef();
`return ( <FlatList ListHeaderComponent={
When I add this code section to App.js it works well. But when I add it another page that is navigated from App.js using react navigation, I am getting error - Toolbar has no editor! in console
What is wrong?