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

react-native-cn-quill is not workiing on react-native-web #127

Open
Roucoz opened this issue Nov 29, 2023 · 2 comments
Open

react-native-cn-quill is not workiing on react-native-web #127

Roucoz opened this issue Nov 29, 2023 · 2 comments

Comments

@Roucoz
Copy link

Roucoz commented Nov 29, 2023

Hello i have tried to add [react-native-cn-quill] in react native its working 100% fine.
I have added the react-native-web, but its not working

the toolbar was not appearing, so i have added a custom tool bar, and i have succeeded to let whole functions work fine

but what its still missing is the getContents(), getHtml, getSelection, getLenght

the setText, and insertText they are working normally, but the postMessages are not

the strange issue is that i can see all of these messages inside the log message
image

this message is comming from here
image

It will be very usefull if we can fix that. thank you in advance

@eemebarbe
Copy link

The WebView component doesnt support React-Native-Web. It seems like making this library compatible with web would be pretty straightforward, but nothing in their documentation suggests that it is supported currently.

@JacobDel
Copy link

Make a separate file for web (RichEditor.tsx and RichEditor.web.tsx)
Use react-quill for your web file

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

3 participants