We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3391b99 commit ad1bac8Copy full SHA for ad1bac8
packages/core/src/BlockNoteEditor.ts
@@ -206,14 +206,15 @@ export class BlockNoteEditor<BSchema extends BlockSchema = DefaultBlockSchema> {
206
this.schema = newOptions.blockSchema;
207
208
const initialContent =
209
- newOptions.initialContent || options.collaboration
+ newOptions.initialContent ||
210
+ (options.collaboration
211
? undefined
212
: [
213
{
214
type: "paragraph",
215
id: UniqueID.options.generateID(),
216
},
- ];
217
+ ]);
218
219
const tiptapOptions: EditorOptions = {
220
...blockNoteTipTapOptions,
0 commit comments