Html To Lexical
Convert HTML strings into Lexical editor state objects
Install
npm install @tryghost/kg-html-to-lexical --save
or
npm install @tryghost/kg-html-to-lexical
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clonethis repo &cdinto it as usual- Run
pnpm installfrom the Ghost monorepo root.
Test
pnpm lintrun just eslintpnpm testrun lint and tests
Copyright & License
Copyright (c) 2013-2026 Ghost Foundation - Released under the MIT license.