@freedom-editor/lighterhtml-code-block

1.0.0 • Public • Published

Freedom Editor Lighterhtml Code Block

License Maintainability Known Vulnerabilities Codacy Badge

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    27
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    27

Package Sidebar

Install

npm i @freedom-editor/lighterhtml-code-block

Weekly Downloads

19

Version

1.0.0

License

MIT

Unpacked Size

35.1 kB

Total Files

15

Last publish

Collaborators

  • johnwinston0410