/slate-super-rte

Slate Rich Text Editor with an added functionality of drag and drop.

Primary LanguageJavaScript

Slate RichTextEditor with DND

A Rich Text Editor built using Slate framework.

This project was bootstrapped with Create React App.

Overview

A Rich Text Editor (RTE) built using Slate.js framework.
Slate.js provides ways to create a RTE without any hassles. This project adds to it by implementing a Drag and Drop feature for the texts in the editor.
This project makes use of react-beautiful-dnd package to acheive this functionality. You can simply rearrange the lines of text you added by dragging and droping it at a position you wish it to be in.

Available Scripts

In the project directory, you can run:

npm install

This command installs all the required dependendencies of the project to your local machine.

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Tools Used

  • React.js
  • Slate.js
  • react-beautiful-dnd

Author

Kaushik M. Shetty