Module

engine/view/styles/padding

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

module

Filtering

Functions

  • addPaddingRules( stylesProcessor ) → void

    Adds a padding CSS styles processing rules.

    editor.data.addStyleProcessorRules( addPaddingRules );
    

    The normalized value is stored as:

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

    Parameters

    stylesProcessor : StylesProcessor

    Returns

    void