Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

React Text Editor to format every url in text to a link

Install

npm i react-url-texteditor or /
yarn add react-url-texteditor

Import

import URLTextEditor from "react-url-texteditor";

How to Use

<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

Demo

Go to demo

currently support for http only

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages