A demo project of creating a rich text editor using Slate.js and React.js
Indentation for tab
key and revert for shift + tab
key
Make selected paragraphs into an ordered list.
Make selected paragraphs into an unordered list.
Supports drag and drop
Clicking this icon will pop up a window for a link. Copy a link from a web and paste here. It will add the image inside the editor.
Upload an image from your local drive to add to the editor.
By default it is unlimited. You can change it. It will affect the "save button" next to it. Save button will be disabled if you enter more blocks at your editor than allowed number.
This will save your document at local storage. If you reload your browser, your file should be unchanged, if you save before reloading.
This will cancel your changes and revert your document as last saved one.