Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@freedom-editor/lighterhtml-heading-block

winston041014MIT1.0.2

Heading block built with Lighterhtml for Freedom Editor

Heading, heading-block, freedom-editor

readme

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.