Functions for converting between serialized Lexical and Mobiledoc formats
npm install @tryghost/kg-convertersFunctions for converting between serialized Lexical and Mobiledoc formats
npm install @tryghost/kg-converters --save
or
yarn add @tryghost/kg-converters
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.
- yarn lint run just eslint
- yarn test run lint and tests
Copyright (c) 2013-2026 Ghost Foundation - Released under the MIT license.