UNPKG

@ckeditor/ckeditor5-engine

Version:

The editing engine of CKEditor 5 – the best browser-based rich text editor.

30 lines (29 loc) 663 B
/** * @license 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 */ /** * @module engine/view/styles/padding */ import type { StylesProcessor } from '../stylesmap.js'; /** * Adds a padding CSS styles processing rules. * * ```ts * editor.data.addStyleProcessorRules( addPaddingStylesRules ); * ``` * * The normalized value is stored as: * * ```ts * const styles = { * padding: { * top, * right, * bottom, * left * } * }; * ``` */ export declare function addPaddingStylesRules(stylesProcessor: StylesProcessor): void;