@tiptap/react 2.0.0-beta.85 → 2.0.0-beta.86

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.
@@ -21,13 +21,20 @@ declare module '@tiptap/core' {
21
21
  * Default options
22
22
  */
23
23
  defaultOptions?: Options;
24
+ /**
25
+ * Default Options
26
+ */
27
+ addOptions?: (this: {
28
+ name: string;
29
+ parent: Exclude<ParentConfig<ExtensionConfig<Options, Storage>>['addOptions'], undefined>;
30
+ }) => Options;
24
31
  /**
25
32
  * Default Storage
26
33
  */
27
34
  addStorage?: (this: {
28
35
  name: string;
29
36
  options: Options;
30
- parent: ParentConfig<ExtensionConfig<Options, Storage>>['addGlobalAttributes'];
37
+ parent: Exclude<ParentConfig<ExtensionConfig<Options, Storage>>['addStorage'], undefined>;
31
38
  }) => Storage;
32
39
  /**
33
40
  * Global attributes
@@ -21,13 +21,20 @@ declare module '@tiptap/core' {
21
21
  * Default options
22
22
  */
23
23
  defaultOptions?: Options;
24
+ /**
25
+ * Default Options
26
+ */
27
+ addOptions?: (this: {
28
+ name: string;
29
+ parent: Exclude<ParentConfig<MarkConfig<Options, Storage>>['addOptions'], undefined>;
30
+ }) => Options;
24
31
  /**
25
32
  * Default Storage
26
33
  */
27
34
  addStorage?: (this: {
28
35
  name: string;
29
36
  options: Options;
30
- parent: ParentConfig<MarkConfig<Options, Storage>>['addGlobalAttributes'];
37
+ parent: Exclude<ParentConfig<MarkConfig<Options, Storage>>['addStorage'], undefined>;
31
38
  }) => Storage;
32
39
  /**
33
40
  * Global attributes
@@ -20,13 +20,20 @@ declare module '@tiptap/core' {
20
20
  * Default options
21
21
  */
22
22
  defaultOptions?: Options;
23
+ /**
24
+ * Default Options
25
+ */
26
+ addOptions?: (this: {
27
+ name: string;
28
+ parent: Exclude<ParentConfig<NodeConfig<Options, Storage>>['addOptions'], undefined>;
29
+ }) => Options;
23
30
  /**
24
31
  * Default Storage
25
32
  */
26
33
  addStorage?: (this: {
27
34
  name: string;
28
35
  options: Options;
29
- parent: ParentConfig<NodeConfig<Options, Storage>>['addGlobalAttributes'];
36
+ parent: Exclude<ParentConfig<NodeConfig<Options, Storage>>['addStorage'], undefined>;
30
37
  }) => Storage;
31
38
  /**
32
39
  * Global attributes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiptap/react",
3
3
  "description": "React components for tiptap",
4
- "version": "2.0.0-beta.85",
4
+ "version": "2.0.0-beta.86",
5
5
  "homepage": "https://tiptap.dev",
6
6
  "keywords": [
7
7
  "tiptap",
@@ -32,8 +32,8 @@
32
32
  "react-dom": "^17.0.0"
33
33
  },
34
34
  "dependencies": {
35
- "@tiptap/extension-bubble-menu": "^2.0.0-beta.42",
36
- "@tiptap/extension-floating-menu": "^2.0.0-beta.36",
35
+ "@tiptap/extension-bubble-menu": "^2.0.0-beta.43",
36
+ "@tiptap/extension-floating-menu": "^2.0.0-beta.37",
37
37
  "prosemirror-view": "^1.20.3"
38
38
  },
39
39
  "repository": {
@@ -41,5 +41,5 @@
41
41
  "url": "https://github.com/ueberdosis/tiptap",
42
42
  "directory": "packages/react"
43
43
  },
44
- "gitHead": "9f5a165b4d5de777787c1f8c2a83f2d8c2438e98"
44
+ "gitHead": "642627ec3635a1d8fa851887d75bee5f193ec63b"
45
45
  }