1.0.2 • Published 4 years ago

@freedom-editor/lighterhtml-heading-block v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

Freedom Editor Lighterhtml Heading Block

License Maintainability Known Vulnerabilities Codacy Badge

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.