Skip to content

Commit

Permalink
Update schema.md (ueberdosis#3645)
Browse files Browse the repository at this point in the history
The schema definition exmaple uses the node name `document` while the explaining text says that the node name is `doc`.
  • Loading branch information
matrei authored and aliasliao committed May 24, 2023
1 parent eb01175 commit 619dcf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ When you’ll work with the provided extensions only, you don’t have to care t
// the underlying ProseMirror schema
{
nodes: {
document: {
doc: {
content: 'block+',
},
paragraph: {
Expand Down

0 comments on commit 619dcf4

Please sign in to comment.