@bicou/prosemirror-render-vue
@bicou/prosemirror-render-vue
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>
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.0.17 | ^3.5.13 | MIT | |
| 0.0.16 | ^3.5.13 | MIT | |
| 0.0.15 | ^3.5.13 | MIT | |
| 0.0.14 | ^3.5.13 | MIT | |
| 0.0.13 | 3.5.13 | MIT | |
| 0.0.12 | 3.5.13 | MIT | |
| 0.0.11 | 3.5.13 | MIT | |
| 0.0.10 | 3.5.13 | MIT | |
| 0.0.9 | 3.5.12 | MIT | |
| 0.0.8 | ^3.3.0 | MIT | |
| 0.0.7 | ^3.3.0 | MIT | |
| 0.0.6 | ^3.3.0 | MIT | |
| 0.0.5 | ^3.3.0 | MIT | |
| 0.0.4 | ^3.3.0 | MIT | |
| 0.0.3 | ^3.3.0 | MIT | |
| 0.0.2 | ^3.3.0 | MIT | |
| 0.0.1 | ^3.3.0 | ||
| 0.0.0 | ^3.3.0 |