Sign up (with export icon)

list/list/utils

Api-module icon module

Functions

  • Chevron-right icon

    createUIComponents( editor, commandName, label, icon ) → void
    internal

    Helper method for creating toolbar and menu buttons and linking them 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