ListOutdentCommand
public class ListOutdentCommand : 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 }
-
Outdents a list item if it supports reversing indentation. When applied on an item at first level, it will remove item from the list. If the command is executed on a text without
NSAttributedString.Key.listItem
attribute, the command is a no-opDeclaration
Swift
public func execute(on editor: EditorView)