Skip to content

mariful-nyx/text-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Editor with React

Integrate the text editor with HTML

  1. Install necessary package
npm install
  1. Build the application
npx webpack --mode production
  1. Then you will get bundle.js file inside the dist folder.
  2. Connect bundle.js file with html
  3. Use the cdn for button icon
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
  1. Add text-editor class inside div then text editor will show.
  2. To get content inside the text editor through this name "text-content"

About

Custom rich text editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published