@tiptap/react 2.0.0-beta.87 → 2.0.0-beta.88

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.
@@ -70,7 +70,7 @@ export interface EditorOptions {
70
70
  }
71
71
  export declare type HTMLContent = string;
72
72
  export declare type JSONContent = {
73
- type: string;
73
+ type?: string;
74
74
  attrs?: Record<string, any>;
75
75
  content?: JSONContent[];
76
76
  marks?: {
@@ -1,5 +1,6 @@
1
1
  import { CodeBlockOptions } from '@tiptap/extension-code-block';
2
2
  export interface CodeBlockLowlightOptions extends CodeBlockOptions {
3
3
  lowlight: any;
4
+ defaultLanguage: string | null | undefined;
4
5
  }
5
6
  export declare const CodeBlockLowlight: import("@tiptap/core").Node<CodeBlockLowlightOptions, unknown>;
@@ -1,5 +1,6 @@
1
1
  import { Plugin } from 'prosemirror-state';
2
- export declare function LowlightPlugin({ name, lowlight }: {
2
+ export declare function LowlightPlugin({ name, lowlight, defaultLanguage }: {
3
3
  name: string;
4
4
  lowlight: any;
5
+ defaultLanguage: string | null | undefined;
5
6
  }): Plugin<any, any>;
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.87",
4
+ "version": "2.0.0-beta.88",
5
5
  "homepage": "https://tiptap.dev",
6
6
  "keywords": [
7
7
  "tiptap",
@@ -21,8 +21,8 @@
21
21
  "dist"
22
22
  ],
23
23
  "devDependencies": {
24
- "@types/react": "^17.0.32",
25
- "@types/react-dom": "^17.0.10",
24
+ "@types/react": "^17.0.34",
25
+ "@types/react-dom": "^17.0.11",
26
26
  "react": "^17.0.0",
27
27
  "react-dom": "^17.0.0"
28
28
  },
@@ -32,14 +32,14 @@
32
32
  "react-dom": "^17.0.0"
33
33
  },
34
34
  "dependencies": {
35
- "@tiptap/extension-bubble-menu": "^2.0.0-beta.44",
36
- "@tiptap/extension-floating-menu": "^2.0.0-beta.38",
37
- "prosemirror-view": "^1.20.3"
35
+ "@tiptap/extension-bubble-menu": "^2.0.0-beta.45",
36
+ "@tiptap/extension-floating-menu": "^2.0.0-beta.39",
37
+ "prosemirror-view": "^1.21.0"
38
38
  },
39
39
  "repository": {
40
40
  "type": "git",
41
41
  "url": "https://github.com/ueberdosis/tiptap",
42
42
  "directory": "packages/react"
43
43
  },
44
- "gitHead": "31c23336d0e5d2be8b250530353531b8a241253c"
44
+ "gitHead": "3c32e66c02efb30d7e083e06cdf81bceb3582a33"
45
45
  }