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