rittenhop-ghost/versions/5.94.2/node_modules/@tryghost/kg-html-to-lexical
2024-09-23 19:05:38 -04:00
..
build adding local files for running this....locally 2024-09-23 19:05:38 -04:00
LICENSE adding local files for running this....locally 2024-09-23 19:05:38 -04:00
package.json adding local files for running this....locally 2024-09-23 19:05:38 -04:00
README.md adding local files for running this....locally 2024-09-23 19:05:38 -04:00

Html To Lexical

Convert HTML strings into Lexical editor state objects

Install

npm install @tryghost/kg-html-to-lexical --save

or

yarn add @tryghost/kg-html-to-lexical

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Copyright & License

Copyright (c) 2013-2023 Ghost Foundation - Released under the MIT license.