Skip to content

WriteonAn accessible rich text editor you can shape

Headless and framework-agnostic, built on ProseMirror. Use our default kit or bring your own UI.

Live demo ​

The default kit with the advanced UI, exactly as you would install it.

Document JSON (what you store)
{
  "type": "doc",
  "schemaVersion": 1,
  "content": [
    {
      "type": "heading",
      "attrs": {
        "level": 2
      },
      "content": [
        {
          "type": "text",
          "text": "Try it"
        }
      ]
    },
    {
      "type": "paragraph",
      "content": [
        {
          "type": "text",
          "text": "Select text for the "
        },
        {
          "type": "text",
          "marks": [
            {
              "type": "bold"
            }
          ],
          "text": "bubble"
        },
        {
          "type": "text",
          "text": ", type "
        },
        {
          "type": "text",
          "marks": [
            {
              "type": "code"
            }
          ],
          "text": "/"
        },
        {
          "type": "text",
          "text": " for commands or "
        },
        {
          "type": "text",
          "marks": [
            {
              "type": "code"
            }
          ],
          "text": "@"
        },
        {
          "type": "text",
          "text": " to mention someone."
        }
      ]
    },
    {
      "type": "bulletList",
      "content": [
        {
          "type": "listItem",
          "content": [
            {
              "type": "paragraph",
              "content": [
                {
                  "type": "text",
                  "text": "Markdown shortcuts work: \"## \", \"- \", \"**bold**\""
                }
              ]
            }
          ]
        },
        {
          "type": "listItem",
          "content": [
            {
              "type": "paragraph",
              "content": [
                {
                  "type": "text",
                  "text": "Alt+F10 moves to the bubble, Escape comes back"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}