npm.io
1.3.5 • Published 1 week ago

@tryghost/kg-html-to-lexical

Licence
MIT
Version
1.3.5
Deps
10
Size
226 kB
Vulns
0
Weekly
0
Stars
281

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.

  1. git clone this repo & cd into it as usual
  2. Run pnpm install from the Ghost monorepo root.

Test

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

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