@tiptap/core 3.6.2 → 3.6.4

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/dist/index.d.cts CHANGED
@@ -1269,7 +1269,7 @@ type HTMLContent = string;
1269
1269
  */
1270
1270
  type JSONContent = {
1271
1271
  type?: string;
1272
- attrs?: Record<string, any>;
1272
+ attrs?: Record<string, any> | undefined;
1273
1273
  content?: JSONContent[];
1274
1274
  marks?: {
1275
1275
  type: string;
package/dist/index.d.ts CHANGED
@@ -1269,7 +1269,7 @@ type HTMLContent = string;
1269
1269
  */
1270
1270
  type JSONContent = {
1271
1271
  type?: string;
1272
- attrs?: Record<string, any>;
1272
+ attrs?: Record<string, any> | undefined;
1273
1273
  content?: JSONContent[];
1274
1274
  marks?: {
1275
1275
  type: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiptap/core",
3
3
  "description": "headless rich text editor",
4
- "version": "3.6.2",
4
+ "version": "3.6.4",
5
5
  "homepage": "https://tiptap.dev",
6
6
  "keywords": [
7
7
  "tiptap",
@@ -52,10 +52,10 @@
52
52
  "jsx-dev-runtime"
53
53
  ],
54
54
  "devDependencies": {
55
- "@tiptap/pm": "^3.6.2"
55
+ "@tiptap/pm": "^3.6.4"
56
56
  },
57
57
  "peerDependencies": {
58
- "@tiptap/pm": "^3.6.2"
58
+ "@tiptap/pm": "^3.6.4"
59
59
  },
60
60
  "repository": {
61
61
  "type": "git",
package/src/types.ts CHANGED
@@ -446,7 +446,7 @@ export type HTMLContent = string
446
446
  */
447
447
  export type JSONContent = {
448
448
  type?: string
449
- attrs?: Record<string, any>
449
+ attrs?: Record<string, any> | undefined
450
450
  content?: JSONContent[]
451
451
  marks?: {
452
452
  type: string