@blocknote/core 0.8.4 → 0.8.5
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/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"homepage": "https://github.com/TypeCellOS/BlockNote",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
|
-
"version": "0.8.
|
|
6
|
+
"version": "0.8.5",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist",
|
|
9
9
|
"types",
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
"access": "public",
|
|
110
110
|
"registry": "https://registry.npmjs.org/"
|
|
111
111
|
},
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "5bdbc6a60d4142a6a6a5d85cc8f8a74fdbecf78f"
|
|
113
113
|
}
|
package/src/BlockNoteEditor.ts
CHANGED
|
@@ -206,14 +206,15 @@ export class BlockNoteEditor<BSchema extends BlockSchema = DefaultBlockSchema> {
|
|
|
206
206
|
this.schema = newOptions.blockSchema;
|
|
207
207
|
|
|
208
208
|
const initialContent =
|
|
209
|
-
newOptions.initialContent ||
|
|
209
|
+
newOptions.initialContent ||
|
|
210
|
+
(options.collaboration
|
|
210
211
|
? undefined
|
|
211
212
|
: [
|
|
212
213
|
{
|
|
213
214
|
type: "paragraph",
|
|
214
215
|
id: UniqueID.options.generateID(),
|
|
215
216
|
},
|
|
216
|
-
];
|
|
217
|
+
]);
|
|
217
218
|
|
|
218
219
|
const tiptapOptions: EditorOptions = {
|
|
219
220
|
...blockNoteTipTapOptions,
|