Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Rich text editing in React with Draft.js
Rating: 3.8 out of 5(35 ratings)
112 students

Rich text editing in React with Draft.js

Add and modify rich text in your React application
Last updated 6/2019
English

What you'll learn

  • How to add rich text editor component to your React application
  • How to add features like bold and underline to the editor
  • How to save rich text content to database
  • How to load rich text content from database
  • How to edit saved content
  • How to display saved rich text content e.g. as HTML

Course content

5 sections19 lectures1h 49m total length
  • Introduction1:26
  • Course resources0:09
  • What is Draft.js?2:57
  • EditorState1:29
  • ContentState1:45
  • Summary of EditorState and ContentState1:02

    Explore how editor state and content state objects organize Draft.js content, including the editor contents and two selection states before and after rendering, and how they are used.

Requirements

  • Basic knowledge of Javascript and React

Description

In this course we will go through how to add rich text editing features (such as bold, underline, italic) to your React application, using an open source framework called Draft.js.


You will learn

  • How to add rich text editor component to your React application

  • How to add features like bold and underline to the editor

  • How to save rich text content to database

  • How to load rich text content from database

  • How to edit saved content

  • How to display saved rich text content e.g. as HTML


Prior knowledge of rich text editing and Draft.js is NOT required. Basic knowledge on React is however required because we will be concentrating on Draft.js features.

Who this course is for:

  • React developers who want to learn how to handle rich text editing in a React application