This commit is contained in:
Philipp Kühn 2021-01-22 08:53:59 +01:00
commit b2c5801564
2 changed files with 31 additions and 8 deletions

View File

@ -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).
## Vocabulary
ProseMirror has its own vocabulary and youll 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 |
| ----------- | ------------------------------------------------------------------------ |
| schema | Configures the structure your content can have. |
| document | The actual content in your editor. |
| state | Everything to describe the current content and selection of your editor. |
| transaction | A change to the state (updated selection, content, …) |
| extension | Registeres new functionality. |
| node | Adds blocks, like heading, paragraph. |
| mark | Adds inline formatting, for example bold or italic. |
| command | Execute an action inside the editor, that somehow changes the state. |
| Schema | Configures the structure your content can have. |
| Document | The actual content in your editor. |
| State | Everything to describe the current content and selection of your editor. |
| Transaction | A change to the state (updated selection, content, …) |
| Extension | Registeres new functionality. |
| Node | Adds blocks, like heading, paragraph. |
| Mark | Adds inline formatting, for example bold or italic. |
| Command | Execute an action inside the editor, that somehow changes the state. |

22
docs/src/pages/404.vue Normal file
View 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>