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