Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/ckeditor5-core/src/editor/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ import { getEditorUsageData, type EditorUsageData } from './utils/editorusagedat
import type { LoadedPlugins, PluginConstructor } from '../plugin.js';
import type { EditorConfig } from './editorconfig.js';

import '../../theme/core.css';

declare global {
// eslint-disable-next-line no-var
var CKEDITOR_GLOBAL_LICENSE_KEY: string | undefined;
Expand Down
12 changes: 12 additions & 0 deletions packages/ckeditor5-core/theme/core.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/

:root {
--ck-content-line-height: 1.5;
}

.ck-content {
line-height: var(--ck-content-line-height);
}