Download the PHP package cjprinse/prosemirror-to-html without Composer
On this page you can find all versions of the php package cjprinse/prosemirror-to-html. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cjprinse/prosemirror-to-html
More information about cjprinse/prosemirror-to-html
Files in cjprinse/prosemirror-to-html
Download cjprinse/prosemirror-to-html
More information about cjprinse/prosemirror-to-html
Files in cjprinse/prosemirror-to-html
Vendor cjprinse
Package prosemirror-to-html
Short Description Takes HTML and outputs ProseMirror compatible JSON.
License MIT
Package prosemirror-to-html
Short Description Takes HTML and outputs ProseMirror compatible JSON.
License MIT
Keywords prosemirror
Please rate this library. Is it a good library?
Informations about the package prosemirror-to-html
We need your support to maintain this package. 💖 https://github.com/sponsors/ueberdosis
ProseMirror to HTML
Takes ProseMirror JSON and outputs HTML.
Installation
Usage
Output
Supported Nodes
- Blockquote
- BulletList
- CodeBlock
- HardBreak
- Heading
- Image
- ListItem
- OrderedList
- Paragraph
- Table
- TableRow
- TableHeader
- TableCell
Supported Marks
- Bold
- Code
- Italic
- Link
- Strike
- Subscript
- Superscript
- Underline
Custom Nodes
Define your custom nodes as PHP classes:
And register them:
Or overwrite the enabled nodes:
Or overwrite the enabled marks:
Or replace just one mark or node:
Contributing
Pull Requests are welcome.
Credits
- Hans Pagel
- sauerbraten
- WiebkeVog
- All Contributors
Related packages
- prosemirror-to-html-js by @enVolt
License
The MIT License (MIT). Please see License File for more information.
All versions of prosemirror-to-html with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1.3
The package cjprinse/prosemirror-to-html contains the following files
Loading the files please wait ....