Interface

InlineStyleDefinition (style)

@ckeditor/ckeditor5-style/src/styleutils

interface

Style definition.

An object describing a style definition. It contains the style name, element name and an array of CSS classes.

// This style will create <h2 class="foo">...</h2> in the document data.
{
  name: 'Example style',
  element: 'h2',
  classes: [ 'foo' ]
}

Filtering

Properties