Convert HTML strings into Lexical editor state objects
npm install @tryghost/kg-html-to-lexical --save
or
yarn add @tryghost/kg-html-to-lexical
This is a monorepo package.
Follow the instructions for the top-level repo.
-
git clone
this repo &cd
into it as usual - Run
yarn
to install top-level dependencies.
-
yarn lint
run just eslint -
yarn test
run lint and tests
Copyright (c) 2013-2023 Ghost Foundation - Released under the MIT license.