@freedom-editor/lighterhtml-code-block
v1.0.0
Published
Code block built with Lighterhtml for Freedom Editor
Downloads
3
Readme
Freedom Editor Lighterhtml Code Block
A code block built with Lighterhtml for Freedom Editor.
Installation
npm i @freedom-editor/lighterhtml-code-block
Usage
Import this block to the script where you config Freedom Editor. Create a new instance.
import { Code } from '@freedom-editor/lighterhtml-code-block'
const codeBlock = new Code()
Register paragraph block in Freedom Editor instance
Register this block in options.registeredBlocks
.
registeredBlocks: [
codeBlock
]
API Reference
TODO
License
This project is licensed under the MIT License - see the license for more details.