Typedef

BoxSides (engine/view)

@ckeditor/ckeditor5-engine/src/view/stylesmap

typedefobject

An object describing values associated with the sides of a box, for instance margins, paddings, border widths, border colors, etc.

const margin = {
	top: '1px',
	right: '3px',
	bottom: '3px',
	left: '7px'
};

const borderColor = {
	top: 'red',
	right: 'blue',
	bottom: 'blue',
	left: 'red'
};

Filtering

Properties

  • bottom : undefined | string

  • left : undefined | string

  • right : undefined | string

  • top : undefined | string