Module

list/documentlistproperties/utils/style

@ckeditor/ckeditor5-list/src/documentlistproperties/utils/style

module

Filtering

Functions

  • getAllSupportedStyleTypes() → Array.<String>

    Gets all the style types supported by given list type.

    Returns

    Array.<String>
  • getListStyleTypeFromTypeAttribute( value ) → String | null

    Converts type attribute of <ul> or <ol> elements to list-style-type equivalent.

    Parameters

    value : String

    Returns

    String | null
  • getListTypeFromListStyleType( listStyleType ) → 'bulleted' | 'numbered' | null

    Checks whether the given list-style-type is supported by numbered or bulleted list.

    Parameters

    listStyleType : String

    Returns

    'bulleted' | 'numbered' | null
  • getTypeAttributeFromListStyleType( value ) → String | null

    Converts list-style-type style to type attribute of <ul> or <ol> elements.

    Parameters

    value : String

    Returns

    String | null