lexiform

A highly polished, ultra-lightweight, headless-compatible drop-in React rich text editor built on Lexical.

Made with ❤️ by RishiAPStar on GitHubnpm
$ npm install @rishiap/lexiform

Output (JSON)

{
  "root": {
    "children": [
      {
        "children": [
          {
            "text": "Welcome to Lexiform!",
            "type": "text"
          }
        ],
        "type": "heading",
        "tag": "h1"
      },
      {
        "children": [
          {
            "text": "Type '/' to open the component picker and insert equations, polls, tables, and more!",
            "type": "text"
          }
        ],
        "type": "paragraph"
      }
    ],
    "type": "root"
  }
}