⚠️ WarningNightly documentation ahead. Switch to the stable editor documentation.
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

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

  • One of the alignment names options.