Class SetAttributesAsTextCommandSettings
Sets attributes on element with given id. This method is useful when user edits some existing attribute value and types in several attribute name/value pairs.
public sealed class SetAttributesAsTextCommandSettings : ICommand
- Inheritance
-
SetAttributesAsTextCommandSettings
- Implements
- Inherited Members
Properties
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
Name
Attribute name to replace with new attributes derived from text in case text parsed successfully.
[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Name { get; set; }
Property Value
NodeId
Id of the element to set attributes for.
[JsonPropertyName("nodeId")]
public long NodeId { get; set; }
Property Value
Text
Text with a number of attributes. Will parse this text using HTML parser.
[JsonPropertyName("text")]
public string Text { get; set; }