diff --git a/docs/src/demos/GettingStarted/index.vue b/docs/src/demos/Guide/GettingStarted/index.vue similarity index 100% rename from docs/src/demos/GettingStarted/index.vue rename to docs/src/demos/Guide/GettingStarted/index.vue diff --git a/docs/src/docPages/api/commands.md b/docs/src/docPages/api/commands.md index 56e5b6fd..bfe76122 100644 --- a/docs/src/docPages/api/commands.md +++ b/docs/src/docPages/api/commands.md @@ -1,10 +1,13 @@ # Commands +:::warning Out of date +This content is written for tiptap 1 and needs an update. +::: + - menus - buttons - commands - ## .clearContent() Clear the whole document. diff --git a/docs/src/docPages/api/editor.md b/docs/src/docPages/api/editor.md index 0c320aad..35ca120e 100644 --- a/docs/src/docPages/api/editor.md +++ b/docs/src/docPages/api/editor.md @@ -1,3 +1,7 @@ # Editor +:::warning Out of date +This content is written for tiptap 1 and needs an update. +::: + This class is a central building block of tiptap. It does most of the heavy lifting of creating a working [ProseMirror](https://ProseMirror.net/) editor such as creating the [`EditorView`](https://ProseMirror.net/docs/ref/#view.EditorView), setting the initial [`EditorState`](https://ProseMirror.net/docs/ref/#state.Editor_State) and so on. \ No newline at end of file diff --git a/docs/src/docPages/api/schema.md b/docs/src/docPages/api/schema.md index 98fa3c0e..5776e9c1 100644 --- a/docs/src/docPages/api/schema.md +++ b/docs/src/docPages/api/schema.md @@ -1,5 +1,9 @@ # Schema +:::warning Out of date +This content is written for tiptap 1 and needs an update. +::: + Unlike many other editors, tiptap is based on a [schema](https://prosemirror.net/docs/guide/#schema) that defines how your content is structured. This enables you to define the kind of nodes that may occur in the document, its attributes and the way they can be nested. This schema is *very* strict. You can’t use any HTML-element or attribute that is not defined in your schema. diff --git a/docs/src/layouts/App/index.vue b/docs/src/layouts/App/index.vue index d7278c34..6919d0fa 100644 --- a/docs/src/layouts/App/index.vue +++ b/docs/src/layouts/App/index.vue @@ -45,13 +45,13 @@