Unofficial Slate.js Plugin ENgine
Custom plugin engine for Slate editors framework. Written in TypeScript.
Why
Slate.js is a great framework for simple and complex text editors. It is very customisable in a functional manner. During development of an HTML WYSIWYG based on Slate.js we've seen an opportunity to standardize our modules. So we started this library - an abstraction layer for Slate.js plugins. It currently supports these methods:
- extendEditor
- RenderElement
- RenderLeaf
- toHtml
- fromHtmlElement
Quick Example
new SlatePen
Related project and more examples
slate-html-mui - Slate and Material-UI based HTML WYSIWYG editor.
Installation
npm install slate-penoryarn add slate-pen
Versioning
We will follow slate.js minor versions until v1.
License
This project is licensed under the terms of the MIT license.