Ali Khiti
Ali Khiti

Reputation: 275

React Native - How to implement a text editor natively

I'm trying to build a rich text editor with React Native, but I struggled to implement the inline tags, such as adding bold or italic styling to a word or a phrase just like in the picture

enter image description here In web development this will be easily sorted out with a div with contenteditable set to true. Is there a way to do this with react native in a native way (no webview), or a workaround that could work?

Upvotes: 1

Views: 1350

Answers (1)

Ammar Tariq
Ammar Tariq

Reputation: 847

Try this package it gives you all the controls of rich text field https://github.com/wxik/react-native-rich-editor

Upvotes: 1

Related Questions