rajibchandrakarmaker / Editor

Simple Text Editor with SlateJS. You can use it for build the sample blog or online editor for any website which is built with React JS

Home Page:https://rajibchandrakarmaker.github.io/Editor/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Editor

This project created with Facebook create-react-app.
Run with local server http://localhost:3000/ in browser.

Installation

Ensure you have [nodejs] installed
git clone https://github.com/rajibchandrakarmaker/Editor.git
cd Editor
npm install
npm start
visit http://localhost:3000/

Demo

https://rajibchandrakarmaker.github.io/Editor

Features

  • A toolbar with some sample commands
  • Image inserting from a link and upload only image from computer
  • Ordered/Unordered list with indentation support (SHIFT + TAB) commands
  • Save data in local storage and discard changes functionality
  • A configurable limit on the number of top-level block nodes in the editor
  • Hotkey support for some commands like bold, italic, underline, save, tab indentation of list items.

Available Scripts

In the project directory, you can run:

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!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

About

Simple Text Editor with SlateJS. You can use it for build the sample blog or online editor for any website which is built with React JS

https://rajibchandrakarmaker.github.io/Editor/


Languages

Language:JavaScript 91.5%Language:CSS 6.7%Language:HTML 1.8%