Lexical node definitions for the default nodes used in Ghost's Koenig editor
npm install @tryghost/kg-default-nodesLexical node definitions for the default nodes used in Ghost's Koenig editor
npm install @tryghost/kg-default-nodes --save
or
yarn add @tryghost/kg-default-nodes
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
yarn link within kg-default-nodesyarn link @tryghost/kg-default-nodes within ghost/corekg-lexical-html-renderer must also be linked when linking this package as they are codependencies.
Copyright (c) 2013-2026 Ghost Foundation - Released under the MIT license.