@edifice.io/react 2.6.10-develop-pedago.20261022130412 → 2.6.10-develop-pedago.20261022131512
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.
|
@@ -90,7 +90,16 @@ const useTipTapEditor = (editable, content, focus, placeholder, onContentChange,
|
|
|
90
90
|
TextAlign.configure({
|
|
91
91
|
types: ["heading", "paragraph", "video", "audio", "iframe"]
|
|
92
92
|
}),
|
|
93
|
-
|
|
93
|
+
// The published package names this node 'customHeading' (to avoid
|
|
94
|
+
// colliding with v3 StarterKit's now-bundled 'heading', disabled
|
|
95
|
+
// above). Pinned back to 'heading' to match what's already stored for
|
|
96
|
+
// existing content, and what edifice-tiptap-transformer's own Heading
|
|
97
|
+
// model does server-side - without this, loading any stored content
|
|
98
|
+
// with a heading throws "Unknown node type: heading" and the editor
|
|
99
|
+
// falls back to an empty document.
|
|
100
|
+
CustomHeading.extend({
|
|
101
|
+
name: "heading"
|
|
102
|
+
}).configure({
|
|
94
103
|
levels: [1, 2]
|
|
95
104
|
}),
|
|
96
105
|
Typography,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.6.10-develop-pedago.
|
|
3
|
+
"version": "2.6.10-develop-pedago.20261022131512",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -132,9 +132,9 @@
|
|
|
132
132
|
"swiper": "10.1.0",
|
|
133
133
|
"ua-parser-js": "1.0.36",
|
|
134
134
|
"zustand": "4.5.7",
|
|
135
|
-
"@edifice.io/
|
|
136
|
-
"@edifice.io/
|
|
137
|
-
"@edifice.io/utilities": "2.6.10-develop-pedago.
|
|
135
|
+
"@edifice.io/tiptap-extensions": "2.6.10-develop-pedago.20261022131512",
|
|
136
|
+
"@edifice.io/bootstrap": "2.6.10-develop-pedago.20261022131512",
|
|
137
|
+
"@edifice.io/utilities": "2.6.10-develop-pedago.20261022131512"
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": {
|
|
140
140
|
"@babel/plugin-transform-react-pure-annotations": "7.27.1",
|
|
@@ -165,8 +165,8 @@
|
|
|
165
165
|
"vite": "5.4.14",
|
|
166
166
|
"vite-plugin-dts": "4.5.4",
|
|
167
167
|
"vite-tsconfig-paths": "5.1.4",
|
|
168
|
-
"@edifice.io/client": "2.6.10-develop-pedago.
|
|
169
|
-
"@edifice.io/config": "2.6.10-develop-pedago.
|
|
168
|
+
"@edifice.io/client": "2.6.10-develop-pedago.20261022131512",
|
|
169
|
+
"@edifice.io/config": "2.6.10-develop-pedago.20261022131512"
|
|
170
170
|
},
|
|
171
171
|
"peerDependencies": {
|
|
172
172
|
"@react-spring/web": "9.7.5",
|