Skip to content

Commit

Permalink
Update schema.md (#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 Jan 27, 2023
1 parent 3a04d9e commit e934b5e
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 e934b5e

Please sign in to comment.