UNPKG

@ckeditor/ckeditor5-font

Version:

Font feature for CKEditor 5.

34 lines (33 loc) 1.08 kB
/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module font/fontfamily */ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core"; import { FontFamilyEditing } from "./fontfamily/fontfamilyediting.js"; import { FontFamilyUI } from "./fontfamily/fontfamilyui.js"; /** * The font family plugin. * * For a detailed overview, check the {@glink features/font font feature} documentatiom * and the {@glink api/font package page}. * * This is a "glue" plugin which loads the {@link module:font/fontfamily/fontfamilyediting~FontFamilyEditing} and * {@link module:font/fontfamily/fontfamilyui~FontFamilyUI} features in the editor. */ export declare class FontFamily extends Plugin { /** * @inheritDoc */ static get requires(): PluginDependenciesOf<[FontFamilyEditing, FontFamilyUI]>; /** * @inheritDoc */ static get pluginName(): "FontFamily"; /** * @inheritDoc */ static override get isOfficialPlugin(): true; }