0.0.9 • Published 9 months ago

@bicou/prosemirror-render-vue v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@bicou/prosemirror-render-vue

📖  Documentation

This plugin allows you to render ProseMirror JSON data in your Vue applications. It provides a Vue component that translates ProseMirror nodes and marks to customizable Vue components or HTML elements.

  • From ProseMirror JSON :
{
  "type": "doc",
  "content": [
    {
      "type": "paragraph",
      "attrs": {
        "id": "the-line"
      },
      "content": [
        {
          "type": "text",
          "text": "The line."
        }
      ]
    }
  ]
}
  • Through Vue Vnodes :
h("div", [h("p", { id: "the-line" }, "The line.")]);
  • To DOM :
<div><p id="the-line">The line.</p></div>
0.0.9

9 months ago

0.0.8

11 months ago

0.0.7

11 months ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago