Type Editor / @type-editor/commands / set-attribute
set-attribute
Functions
| Function | Description |
|---|---|
Creates a command that sets an attribute on nodes within the current selection. This command has two modes of operation:
The command preserves the current selection after applying changes and uses structural sharing to minimize memory allocations when transforming the document. |