Overview
Editorjs-html is a utility designed to parse EditorJS clean data to HTML. It offers fast, efficient, and lightweight conversion while providing full customizability. This tool supports basic EditorJS blocks, can be easily extended for new or custom blocks, and now includes a read-only mode for displaying EditorJS data.
Features
- Support for various frameworks: Can be used with plain Javascript/Typescript, React, Angular, Vue, or any other framework.
- Customizable blocks: Supports basic EditorJS blocks that are also customizable.
- Extendable functionality: Easily extend for any new or custom EditorJS blocks.
- Read-only mode: Recently updated to include a read-only mode for displaying data.
- Efficient parsing: Fast and lightweight conversion to HTML.
- Installation flexibility: Available for browser, Node.js, and both browser & Node.js.
Installation
Browser Installation:
- Get
/build/edjsHTML.browser.jsand include it in your project.
- Get
NodeJs Installation:
- Get
/build/edjsHTML.node.jsand include it in your Node.js project.
- Get
For Browser & Node:
- Get
/build/edjsHTML.jsand include it in your project.
- Get
Summary
Editorjs-html is a versatile utility tool that efficiently converts EditorJS clean data to HTML with the added benefit of full customizability. With support for various frameworks and the ability to extend functionality, this tool provides a lightweight solution for parsing EditorJS data. The recent inclusion of a read-only mode enhances the display options, making it a valuable tool for developers seeking granular control over their content rendering.