Raw HTML Tool for Editor.js
npm install @editorjs/raw
Raw Tool for the Editor.js allows to include raw HTML code in your articles.

Get the package
``shell`
yarn add @editorjs/raw
Include module at your application
`javascript`
import RawTool from '@editorjs/raw';
Optionally, you can load this tool from CDN JsDelivr CDN
Add a new Tool to the tools property of the CodeX Editor initial config.
`javascript`
var editor = CodexEditor({
...
tools: {
...
raw: RawTool,
}
...
});
| Field | Type | Description |
| ----------- | -------- | ------------------------------|
| placeholder | string | Raw Tool's placeholder string |
This Tool returns raw HTML code.
`json``
{
"type" : "raw",
"data" : {
"html": "Any HTML code",
}
}