Module

list/list/utils

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

module

Filtering

Functions

  • internal

    createUIComponent( editor, commandName, label, icon ) → void

    Helper method for creating a UI button and linking it with an appropriate command.

    Parameters

    editor : Editor

    The editor instance to which the UI component will be added.

    commandName : 'numberedList' | 'bulletedList' | 'todoList'

    The name of the command.

    label : string

    The button label.

    icon : string

    The source of the icon.

    Returns

    void