UNPKG

@ckeditor/ckeditor5-font

Version:

Font feature for CKEditor 5.

38 lines (37 loc) 1.18 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/font */ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core"; import { FontFamily } from "./fontfamily.js"; import { FontSize } from "./fontsize.js"; import { FontColor } from "./fontcolor.js"; import { FontBackgroundColor } from "./fontbackgroundcolor.js"; /** * A plugin that enables a set of text styling features: * * * {@link module:font/fontsize~FontSize}, * * {@link module:font/fontfamily~FontFamily}. * * {@link module:font/fontcolor~FontColor}, * * {@link module:font/fontbackgroundcolor~FontBackgroundColor}. * * For a detailed overview, check the {@glink features/font Font feature} documentation * and the {@glink api/font package page}. */ export declare class Font extends Plugin { /** * @inheritDoc */ static get requires(): PluginDependenciesOf<[FontFamily, FontSize, FontColor, FontBackgroundColor]>; /** * @inheritDoc */ static get pluginName(): "Font"; /** * @inheritDoc */ static override get isOfficialPlugin(): true; }