prosemirror-rs 0.3.5 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Cargo.toml
CHANGED
package/index.d.ts
CHANGED
|
@@ -100,9 +100,13 @@ export declare class Editor {
|
|
|
100
100
|
* passed to JavaScript. Suitable for saving directly to a database without
|
|
101
101
|
* creating any intermediate JS objects.
|
|
102
102
|
*
|
|
103
|
+
* When `skipDefaults` is `true`, attributes whose value matches the
|
|
104
|
+
* schema-defined default are omitted from the output ("mini" JSON).
|
|
105
|
+
*
|
|
106
|
+
* @param skipDefaults If true, omit attributes that have default values.
|
|
103
107
|
* @returns The current document as a compact JSON string.
|
|
104
108
|
*/
|
|
105
|
-
docJson(): string;
|
|
109
|
+
docJson(skipDefaults?: boolean): string;
|
|
106
110
|
|
|
107
111
|
/**
|
|
108
112
|
* Number of steps successfully applied since construction or last `reset()`.
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|