Skip to content

iamsaurabh7/Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Draft.js Editor

A simple React application featuring a Draft.js editor with additional functionality.

Features

  • Heading Format: Typing # as the first string in a line and pressing space makes the text appear as a heading.
  • Bold Format: Typing * as the first string in a line and pressing space results in bold text.
  • Red Text: Typing ** as the first string in a line and pressing space changes the text color to red.
  • Underline: Typing *** as the first string in a line and pressing space underlines the text.
  • Save to Local Storage: Pressing the "Save" button persists the content in local storage.
  • Load from Local Storage: On refreshing the page, the saved content is refilled into the editor.

image

Usage

  1. Clone the repository.
  2. Run npm install to install dependencies.
  3. Run npm start to start the development server.

About

React Sorcerer Take Home Test - TEXT EDITOR using DRAFT.JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors