diff --git a/ghost/admin/app/components/koenig-lexical-editor.js b/ghost/admin/app/components/koenig-lexical-editor.js index 852ffd35b5..c96646366e 100644 --- a/ghost/admin/app/components/koenig-lexical-editor.js +++ b/ghost/admin/app/components/koenig-lexical-editor.js @@ -82,7 +82,7 @@ const fetchKoenig = function () { } else { await import(`https://${url.host}${url.pathname}`); } - + return window['@tryghost/koenig-lexical']; }; @@ -189,12 +189,14 @@ export default class KoenigLexicalEditor extends Component { if (this.config.sentry_dsn) { Sentry.captureException(error, { - tags: { - lexical: true + tags: {lexical: true}, + contexts: { + koenig: { + version: window['@tryghost/koenig-lexical']?.version + } } }); } - // don't rethrow, Lexical will attempt to gracefully recover }