@types/prosemirror-model
Advanced tools
Comparing version 1.13.2 to 1.16.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for prosemirror-model 1.13 | ||
// Type definitions for prosemirror-model 1.16 | ||
// Project: https://github.com/ProseMirror/prosemirror-model | ||
@@ -675,2 +675,6 @@ // Definitions by: Bradley Ayers <https://github.com/bradleyayers> | ||
/** | ||
* The node type's [whitespace](#view.NodeSpec.whitespace) option. | ||
*/ | ||
whitespace: 'pre' | 'normal'; | ||
/** | ||
* Return a string representation of this node for debugging | ||
@@ -1199,2 +1203,14 @@ * purposes. | ||
/** | ||
* Controls way whitespace in this a node is parsed. The default is | ||
* `"normal"`, which causes the [DOM parser](#model.DOMParser) to | ||
* collapse whitespace in normal mode, and normalize it (replacing | ||
* newlines and such with spaces) otherwise. `"pre"` causes the | ||
* parser to preserve spaces inside the node. When this option isn't | ||
* given, but [`code`](#model.NodeSpec.code) is true, `whitespace` | ||
* will default to `"pre"`. Note that this option doesn't influence | ||
* the way the node is rendered—that should be handled by `toDOM` | ||
* and/or styling. | ||
*/ | ||
whitespace?: 'pre' | 'normal'; | ||
/** | ||
* Determines whether this node is considered an important parent | ||
@@ -1201,0 +1217,0 @@ * node during replace operations (such as paste). Non-defining (the |
{ | ||
"name": "@types/prosemirror-model", | ||
"version": "1.13.2", | ||
"version": "1.16.0", | ||
"description": "TypeScript definitions for prosemirror-model", | ||
@@ -55,4 +55,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prosemirror-model", | ||
}, | ||
"typesPublisherContentHash": "dea0dfa404e0690907c3e0a2b8690d174da1562259a7c65fcc2b38e8aa38a74b", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "84125ba118821e08f75b6fc37b5266e5231b440e22a9c2797e6623d6f2a7fc48", | ||
"typeScriptVersion": "3.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sun, 15 Aug 2021 22:31:21 GMT | ||
* Last updated: Wed, 05 Jan 2022 20:31:29 GMT | ||
* Dependencies: [@types/orderedmap](https://npmjs.com/package/@types/orderedmap) | ||
@@ -14,0 +14,0 @@ * Global values: none |
59916
1463