Skip to content

Dark-Knight-Avi/Portle-DraftEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draft-JS Editor

Demo

https://portle-draft-editor.vercel.app/

Demo video

React_App_-_Google_Chrome_2023-04-27_17-02-40_AdobeExpress.mp4

Authors

Usage/Examples

1. Clone the repo - here
    git clone https://github.com/Dark-Knight-Avi/Tic-Tac-Toe-React-JS-.git
2. Install the required modules after going to that directory using -
    npm Install
3. Start the application in your localhost-
    npm start

Features

  • Written in Draft.js
  • Typing # as the first string in a line & pressing space should make anything you type afterwards on the same line be in a “Heading” format. On pressing space the aforementioned # will disappear.
  • Similarly, typing * as the first string in a line and pressing space should correspond to “bold” format
  • ** and space = red line
  • *** and space = underline
  • Pressing Save button will persist everything typed in the editor into localstorage. On refreshing the page, the saved info will be refilled into the editor.