docs: add 404 page
This commit is contained in:
@@ -11,14 +11,15 @@ The document is stored in a state. All changes are applied as transactions to th
|
|||||||
Extensions add [nodes](/api/nodes), [marks](/api/marks) and/or [functionalities](/api/extensions) to the editor. A lot of those extensions bound their commands to common [keyboard shortcuts](/api/keyboard-shortcuts).
|
Extensions add [nodes](/api/nodes), [marks](/api/marks) and/or [functionalities](/api/extensions) to the editor. A lot of those extensions bound their commands to common [keyboard shortcuts](/api/keyboard-shortcuts).
|
||||||
|
|
||||||
## Vocabulary
|
## Vocabulary
|
||||||
|
ProseMirror has its own vocabulary and you’ll stumble upon all those words now and then. Here is a short overview of the most common words we use in the documentation.
|
||||||
|
|
||||||
| Word | Description |
|
| Word | Description |
|
||||||
| ----------- | ------------------------------------------------------------------------ |
|
| ----------- | ------------------------------------------------------------------------ |
|
||||||
| schema | Configures the structure your content can have. |
|
| Schema | Configures the structure your content can have. |
|
||||||
| document | The actual content in your editor. |
|
| Document | The actual content in your editor. |
|
||||||
| state | Everything to describe the current content and selection of your editor. |
|
| State | Everything to describe the current content and selection of your editor. |
|
||||||
| transaction | A change to the state (updated selection, content, …) |
|
| Transaction | A change to the state (updated selection, content, …) |
|
||||||
| extension | Registeres new functionality. |
|
| Extension | Registeres new functionality. |
|
||||||
| node | Adds blocks, like heading, paragraph. |
|
| Node | Adds blocks, like heading, paragraph. |
|
||||||
| mark | Adds inline formatting, for example bold or italic. |
|
| Mark | Adds inline formatting, for example bold or italic. |
|
||||||
| command | Execute an action inside the editor, that somehow changes the state. |
|
| Command | Execute an action inside the editor, that somehow changes the state. |
|
||||||
|
|||||||
22
docs/src/pages/404.vue
Normal file
22
docs/src/pages/404.vue
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
<template>
|
||||||
|
<div class="error-page">
|
||||||
|
Oh no, page not found.
|
||||||
|
<g-link
|
||||||
|
to="/"
|
||||||
|
>
|
||||||
|
→ Back
|
||||||
|
</g-link>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.error-page {
|
||||||
|
margin: 5rem 1rem;
|
||||||
|
text-align: center;
|
||||||
|
color: rgba($colorWhite, 0.4);
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: $colorWhite;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user