a wrapper for facebook/lexical for react
npm install @techstack/lexicalThis is a wrapper around the meta lexical library. below is how you install and use it. PRs are welcome.
``bash`
npm i -S @techstack/lexical
There are two ways to use it the all included solution or the composable way.
All included
`jsx
import Editor from "@techstack/lexical";
import "@techstack/lexical/css";
`
Composable way (below is list of included plugins and components)
`jsx
import Editor from "@techstack/lexical/editor";
import {
pluginName
} from "@techstack/lexical/plugins";
import { Toolbar } from "@techstack/lexical/components";
import "@techstack/lexical/css";
{toolbarplugins}
{non toolbar plugins}
``
list coming soonish
- Toolbar
- Divider