Skip to content
New issue

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

[Android]: onTextChange is not consoling any value #141

Open
S-H-7 opened this issue Dec 8, 2024 · 1 comment
Open

[Android]: onTextChange is not consoling any value #141

S-H-7 opened this issue Dec 8, 2024 · 1 comment

Comments

@S-H-7
Copy link

S-H-7 commented Dec 8, 2024

onTextChange={(data) => {
console.log(data);
}}

this is not giving me anything
after initial setup has been done.

@S-H-7
Copy link
Author

S-H-7 commented Dec 8, 2024

my code:

react-native version: 0.71;
platform: android;

const _editor = React.createRef();
const App = () => {
  return (
   <QuillEditor
        style={styles.editor}
        ref={_editor}
        initialHtml="<h1>Quill Editor for react-native</h1>"
        onTextChange={(data) => console.log(data)}
        onHtmlChange={(data) => console.log('the data:\n', data)}
      />
      <QuillToolbar editor={_editor} options="full" theme="light" />
  );
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant