Typedef

AlignmentFormat (alignment)

@ckeditor/ckeditor5-alignment/src/alignmentediting

typedef
Object

The alignment configuration format descriptor.

const alignmentFormat = {
	name: 'right',
	className: 'my-align-right-class'
}

Filtering

Properties

  • className : String

    The CSS class used to represent the style in the view. Used to override default, inline styling for alignment.

  • name : 'left' | 'right' | 'center' | 'justify'

    One of the alignment names options.