We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed this lib with npm i and after I call useEditor hook I get this error:
npm i
Code looks like this:
import { EditorContent, extensions, useEditor } from 'rn-text-editor'; // ... const inputRef = React.useRef<TextInput>(null); const editor = useEditor({ enableCoreExtensions: true, onUpdate(props) { console.log(props.editor.contentAsJson()); } }); return ( <EditorContent editor={editor} placeholder="Write something..." inputRef={inputRef} autoFocus /> ); // ...
Have any ideas about this error and how to fix it?
The text was updated successfully, but these errors were encountered:
Hi @IslamRustam Make sure you install the beta version
npm i rn-text-editor@0.2.0-beta.3
the docs: https://www.npmjs.com/package/rn-text-editor/v/0.2.0-beta.3 Example: https://github.com/amjadbouhouch/rn-text-editor/tree/v0.2.0-beta.3/example
& It's not stable; there is a lot of work that needs to be done. Due this facebook/react-native#29063 (comment)
Sorry, something went wrong.
Using beta version indeed fixed it, but editor itself does require some work. Hopefully you will manage to achieve what you plan to!
No branches or pull requests
Installed this lib with

npm i
and after I call useEditor hook I get this error:Code looks like this:
Have any ideas about this error and how to fix it?
The text was updated successfully, but these errors were encountered: