From e934b5e57ebda1d48844841244ba51ccbbc14aec Mon Sep 17 00:00:00 2001 From: Mattias Reichel Date: Fri, 27 Jan 2023 14:39:24 +0100 Subject: [PATCH] Update schema.md (#3645) The schema definition exmaple uses the node name `document` while the explaining text says that the node name is `doc`. --- docs/api/schema.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/schema.md b/docs/api/schema.md index 55fcc52ce0..db672ff2b9 100644 --- a/docs/api/schema.md +++ b/docs/api/schema.md @@ -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: {