ListIndentCommand

public class ListIndentCommand : EditorCommand

Command that can be used to toggle list indentation of selected range of text.

  • Undocumented

    Declaration

    Swift

    public init()
  • Name of the command

    Declaration

    Swift

    public var name: CommandName { get }
  • Indents a list item if it supports indentation (e.g. unsupported item may mean item at first level) If the command is executed on a text without NSAttributedString.Key.listItem attribute, the command is a no-op

    Declaration

    Swift

    public func execute(on editor: EditorView)