npm i react-url-texteditor or /
yarn add react-url-texteditor
import URLTextEditor from "react-url-texteditor";
<URLTextEditor
inlineStyle={{ width: "50%" }}
onChangeText={(plain_text) => console.log(plain_text)}
onChangeHtml={(with_tag) => console.log(with_tag)}
/>
- onChangeText: to get callback plain text value
- onChangeHtml: to get callback html format with 'a' tag
- inlineStyle: customize your texteditor style