AttributesToggleCommand
public class AttributesToggleCommand : EditorCommand
Editor command that toggles given attributes in selected range in the Editor.
-
Undocumented
Declaration
Swift
public let attributes: [NSAttributedString.Key : Any]
-
Declaration
Swift
public let name: CommandName
-
Undocumented
Declaration
Swift
public init(name: CommandName, attributes: [NSAttributedString.Key : Any])
-
Declaration
Swift
public func execute(on editor: EditorView)