Skip to content

An interactive tutorial, using the draft.js API and writing custom plugins with draft-js-plugin-text

Notifications You must be signed in to change notification settings

bilo-io/draft-js-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draft.js Guide

by Bilo Lwabona

Overview

Draft.js is a rich text editor that is very powerful, and quite extensible. Unfortunately, there is not as much documentation out there as you would like.

As such, I created this guide to prevent others from having to go through the pain-staking process of digging through a bunch of code all over, in order to get to this point.

Quickstart

I do as I say, or at at least I try to ... so this is not just a guide full of README's ... I actually coded this stuff. Run it on your machine:

  • git clone https://github.com/bilo-io/draft-js-guide.git
  • cd ./draft-js-guide
  • npm install
  • npm run dev
  • http://localhost:8080

NOTE:

  • Each lesson is a page, accessible from the navigation menu
    • open the menu by pressing the top left icon in the navbar
  • Alternatively, you can change the url directly (e.g. localhost:8080/lesson1, etc.)

Guide Structure

The lessons are all in this one Github repo, each in it's own page (under src/app/pages/) on the master branch. Furthermore, the things covered in the respective lesson have also been implemented, and are present in the source of the same branch.

References

About

An interactive tutorial, using the draft.js API and writing custom plugins with draft-js-plugin-text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published