@tryghost/kg-default-nodes
v2.0.2
Published
Lexical node definitions for the default nodes used in Ghost's Koenig editor
Maintainers
Keywords
Readme
Koenig Default Nodes
Lexical node definitions for the default nodes used in Ghost's Koenig editor
Install
npm install @tryghost/kg-default-nodes --save
or
yarn add @tryghost/kg-default-nodes
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clonethis repo &cdinto it as usual- Run
yarnto install top-level dependencies.
Test
yarn lintrun just eslintyarn testrun lint and tests
Running in Ghost Admin
In order to run local changes, perform the following:
- Run
yarn linkwithinkg-default-nodes - Run
yarn link @tryghost/kg-default-nodeswithinghost/core
kg-lexical-html-renderer must also be linked when linking this package as they are codependencies.
Copyright & License
Copyright (c) 2013-2025 Ghost Foundation - Released under the MIT license.
