We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6719152 + f1a513d commit 9fd28b9Copy full SHA for 9fd28b9
1 file changed
packages/ckeditor5-engine/src/model/node.ts
@@ -439,6 +439,9 @@ ModelNode.prototype.is = function( type: string ): boolean {
439
};
440
441
/**
442
- * Node's attributes. See {@link module:utils/tomap~toMap} for a list of accepted values.
+ * Represents a set of model node attributes, accepted as either a plain object
443
+ * with string keys or an iterable of `[ key, value ]` pairs (e.g., a `Map`).
444
+ *
445
+ * See {@link module:utils/tomap~toMap} for more details and examples.
446
*/
447
export type ModelNodeAttributes = Record<string, unknown> | Iterable<[ string, unknown ]>;
0 commit comments