diff --git a/docs/src/demos/Examples/Book/content.js b/docs/src/demos/Examples/Book/content.js
new file mode 100644
index 00000000..6371ff5c
--- /dev/null
+++ b/docs/src/demos/Examples/Book/content.js
@@ -0,0 +1,4 @@
+export const content = `
+
Example
+TODO
+`
diff --git a/docs/src/demos/Examples/Book/index.spec.js b/docs/src/demos/Examples/Book/index.spec.js
new file mode 100644
index 00000000..8403e1ff
--- /dev/null
+++ b/docs/src/demos/Examples/Book/index.spec.js
@@ -0,0 +1,7 @@
+context('/examples/basic', () => {
+ before(() => {
+ cy.visit('/examples/basic')
+ })
+
+ // TODO: Write tests
+})
diff --git a/docs/src/demos/Examples/Book/index.vue b/docs/src/demos/Examples/Book/index.vue
new file mode 100644
index 00000000..44b31291
--- /dev/null
+++ b/docs/src/demos/Examples/Book/index.vue
@@ -0,0 +1,145 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/src/demos/Examples/DragHandle/Component.vue b/docs/src/demos/Guide/NodeViews/DragHandle/Component.vue
similarity index 100%
rename from docs/src/demos/Examples/DragHandle/Component.vue
rename to docs/src/demos/Guide/NodeViews/DragHandle/Component.vue
diff --git a/docs/src/demos/Examples/DragHandle/DraggableItem.js b/docs/src/demos/Guide/NodeViews/DragHandle/DraggableItem.js
similarity index 100%
rename from docs/src/demos/Examples/DragHandle/DraggableItem.js
rename to docs/src/demos/Guide/NodeViews/DragHandle/DraggableItem.js
diff --git a/docs/src/demos/Examples/DragHandle/index.vue b/docs/src/demos/Guide/NodeViews/DragHandle/index.vue
similarity index 100%
rename from docs/src/demos/Examples/DragHandle/index.vue
rename to docs/src/demos/Guide/NodeViews/DragHandle/index.vue
diff --git a/docs/src/docPages/examples/basic.md b/docs/src/docPages/examples/basic.md
index c33b8158..00f923a6 100644
--- a/docs/src/docPages/examples/basic.md
+++ b/docs/src/docPages/examples/basic.md
@@ -1,3 +1,3 @@
-# Basic
+# Basic text editor
diff --git a/docs/src/docPages/examples/book.md b/docs/src/docPages/examples/book.md
new file mode 100644
index 00000000..2712e841
--- /dev/null
+++ b/docs/src/docPages/examples/book.md
@@ -0,0 +1,3 @@
+# A whole book
+
+
diff --git a/docs/src/docPages/examples/code-highlighting.md b/docs/src/docPages/examples/code-highlighting.md
deleted file mode 100644
index 87f77d6f..00000000
--- a/docs/src/docPages/examples/code-highlighting.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Code Highlighting
-
-
\ No newline at end of file
diff --git a/docs/src/docPages/examples/drag-handle.md b/docs/src/docPages/examples/drag-handle.md
deleted file mode 100644
index 858f193f..00000000
--- a/docs/src/docPages/examples/drag-handle.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Drag Handle
-
-
diff --git a/docs/src/docPages/examples/embeds.md b/docs/src/docPages/examples/embeds.md
deleted file mode 100644
index b6650b85..00000000
--- a/docs/src/docPages/examples/embeds.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Embeds
-
-
\ No newline at end of file
diff --git a/docs/src/docPages/examples/floating-menu.md b/docs/src/docPages/examples/floating-menu.md
deleted file mode 100644
index ab15a33f..00000000
--- a/docs/src/docPages/examples/floating-menu.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Floating Menu
-
-
\ No newline at end of file
diff --git a/docs/src/docPages/examples/hiding-menu-bar.md b/docs/src/docPages/examples/hiding-menu-bar.md
deleted file mode 100644
index 8ee88ba0..00000000
--- a/docs/src/docPages/examples/hiding-menu-bar.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Hiding Menu Bar
-
-
\ No newline at end of file
diff --git a/docs/src/docPages/examples/images.md b/docs/src/docPages/examples/images.md
deleted file mode 100644
index 704cd2b7..00000000
--- a/docs/src/docPages/examples/images.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Images
-
-
\ No newline at end of file
diff --git a/docs/src/docPages/examples/menu-bubble.md b/docs/src/docPages/examples/menu-bubble.md
deleted file mode 100644
index af2786ec..00000000
--- a/docs/src/docPages/examples/menu-bubble.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Menu Bubble
-
-
\ No newline at end of file
diff --git a/docs/src/docPages/examples/placeholder.md b/docs/src/docPages/examples/placeholder.md
deleted file mode 100644
index b89aeaa8..00000000
--- a/docs/src/docPages/examples/placeholder.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Placeholder
-
-
\ No newline at end of file
diff --git a/docs/src/docPages/examples/search-and-replace.md b/docs/src/docPages/examples/search-and-replace.md
deleted file mode 100644
index 8f091eb5..00000000
--- a/docs/src/docPages/examples/search-and-replace.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Search and Replace
-
-
\ No newline at end of file
diff --git a/docs/src/docPages/examples/suggestions.md b/docs/src/docPages/examples/suggestions.md
deleted file mode 100644
index 875824a9..00000000
--- a/docs/src/docPages/examples/suggestions.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Suggestions
-
-
\ No newline at end of file
diff --git a/docs/src/docPages/examples/tables.md b/docs/src/docPages/examples/tables.md
deleted file mode 100644
index 066bf657..00000000
--- a/docs/src/docPages/examples/tables.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Tables
-
-
\ No newline at end of file
diff --git a/docs/src/docPages/examples/title.md b/docs/src/docPages/examples/title.md
deleted file mode 100644
index 935d87f2..00000000
--- a/docs/src/docPages/examples/title.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Title
-
-
\ No newline at end of file
diff --git a/docs/src/docPages/examples/todo-list.md b/docs/src/docPages/examples/todo-list.md
deleted file mode 100644
index f93919a3..00000000
--- a/docs/src/docPages/examples/todo-list.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Todo List
-
-
\ No newline at end of file
diff --git a/docs/src/docPages/examples/trailing-paragraph.md b/docs/src/docPages/examples/trailing-paragraph.md
deleted file mode 100644
index bc942b02..00000000
--- a/docs/src/docPages/examples/trailing-paragraph.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Trailing Paragraph
-
-
\ No newline at end of file
diff --git a/docs/src/docPages/guide/advanced-node-views.md b/docs/src/docPages/guide/node-views.md
similarity index 74%
rename from docs/src/docPages/guide/advanced-node-views.md
rename to docs/src/docPages/guide/node-views.md
index 207223e2..486b5d43 100644
--- a/docs/src/docPages/guide/advanced-node-views.md
+++ b/docs/src/docPages/guide/node-views.md
@@ -6,7 +6,9 @@
TODO
-## Simple
+## Different types of node views
+
+### Simple
```html
@@ -16,7 +18,7 @@ TODO
```
-## Without content
+### Without content
```html
@@ -26,7 +28,7 @@ TODO
```
-## Advanced node views with content
+### Advanced node views with content
```html
@@ -43,16 +45,7 @@ TODO
```
-
diff --git a/docs/src/links.yaml b/docs/src/links.yaml
index 3ce72e60..32e15225 100644
--- a/docs/src/links.yaml
+++ b/docs/src/links.yaml
@@ -15,7 +15,7 @@
link: /examples
redirect: /examples/basic
items:
- - title: Basic
+ - title: Basic text editor
link: /examples/basic
- title: Collaborative editing
link: /examples/collaborative-editing
@@ -24,21 +24,16 @@
link: /examples/markdown-shortcuts
# - title: Formatting
# link: /examples/formatting
- # - title: Links
- # link: /examples/links
- - title: Todo App
+ - title: Todo app
link: /examples/todo-app
+ - title: A whole book
+ link: /examples/book
# - title: Read-only
# link: /examples/read-only
# - title: Minimalist
# link: /examples/minimalist
# - title: Use with v-model
# link: /examples/v-model
- # - title: Drag handle
- # link: /examples/drag-handle
- # draft: true
- # - title: Export HTML or JSON
- # link: /examples/export-html-or-json
- title: Guide
items:
@@ -58,8 +53,8 @@
link: /guide/store-content
- title: Build custom extensions
link: /guide/build-custom-extensions
- - title: Advanced node views
- link: /guide/advanced-node-views
+ - title: Define node views
+ link: /guide/node-views
draft: true
- title: Working with TypeScript
link: /guide/working-with-typescript