Module

engine/view/styles/padding

@ckeditor/ckeditor5-engine/src/view/styles/padding

module

Filtering

Functions

  • addPaddingRules( stylesProcessor )

    static

    Adds a margin CSS styles processing rules.

    editor.data.addStyleProcessorRules( addPaddingRules );

    The normalized value is stored as:

    const styles = {
        padding: {
            top,
            right,
            bottom,
            left
        }
    };

    Parameters

    stylesProcessor : StylesProcessor