Open praveenvns opened 1 week ago
I am getting this error two. Just tried to use this in a Nextjs App but this error shows up. The worst is that the error doesn't make any sense and does not give a hint of what is wrong.
You need to setup extensions and apply in editor.
import { defaultExtensions } from "./extensions";
const extensions = [...defaultExtensions];
<EditorContent
extensions={extensions}
...
/>;
Provide environment information
RangeError: Schema is missing its top node type ('doc')bug:
Describe the bug
My code
Editor not working at all
Link to reproduction
RangeError: Schema is missing its top node type ('doc')bug:
To reproduce
RangeError: Schema is missing its top node type ('doc')bug:
Additional information
RangeError: Schema is missing its top node type ('doc')bug: