mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
allow arbitrary attrs on DecorationAttrs (#35574)
This commit is contained in:
parent
2845af6bbc
commit
cf44e8d573
5
types/prosemirror-view/index.d.ts
vendored
5
types/prosemirror-view/index.d.ts
vendored
@ -128,6 +128,11 @@ export interface DecorationAttrs {
|
||||
* this type (and the other attributes are applied to this element).
|
||||
*/
|
||||
nodeName?: string | null;
|
||||
/**
|
||||
* Specify additional attrs that will be mapped directly to the
|
||||
* target node's DOM attributes.
|
||||
*/
|
||||
[key: string]: string | null | undefined;
|
||||
}
|
||||
/**
|
||||
* A collection of [decorations](#view.Decoration), organized in
|
||||
|
||||
Loading…
Reference in New Issue
Block a user