diff --git a/ghost/admin/app/components/koenig-lexical-editor.js b/ghost/admin/app/components/koenig-lexical-editor.js index b00bb11fd0..e21a5e8549 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']; }; @@ -195,12 +195,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 }