From ac97e393d182ea0c23c79740ef60c47e8a0e6b1c Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Thu, 4 Feb 2021 17:33:59 +0100 Subject: [PATCH] docs: update content --- .../demos/Examples/MultipleEditors/index.vue | 14 ++++++-- docs/src/demos/Examples/Tables/index.vue | 27 +++++++++++---- docs/src/docPages/api/extensions.md | 4 +-- docs/src/docPages/api/marks.md | 3 +- docs/src/docPages/api/nodes.md | 27 +++++++++++++-- docs/src/docPages/api/utilities/html.md | 5 ++- docs/src/docPages/api/utilities/suggestion.md | 12 +++---- docs/src/docPages/examples/community.md | 2 +- .../src/docPages/examples/multiple-editors.md | 2 +- docs/src/docPages/experiments.md | 4 +-- docs/src/docPages/guide/accessibility.md | 6 ++-- docs/src/docPages/guide/build-extensions.md | 4 +-- docs/src/links.yaml | 34 +++++++++---------- docs/src/pages/404.vue | 7 ++-- 14 files changed, 96 insertions(+), 55 deletions(-) diff --git a/docs/src/demos/Examples/MultipleEditors/index.vue b/docs/src/demos/Examples/MultipleEditors/index.vue index 672a5a35..9458894e 100644 --- a/docs/src/demos/Examples/MultipleEditors/index.vue +++ b/docs/src/demos/Examples/MultipleEditors/index.vue @@ -33,6 +33,7 @@ import { EditorContent } from '@tiptap/vue' import Document from '@tiptap/extension-document' import Paragraph from '@tiptap/extension-paragraph' import Text from '@tiptap/extension-text' +import Bold from '@tiptap/extension-bold' import TaskList from '@tiptap/extension-task-list' import TaskItem from '@tiptap/extension-task-item' import Collaboration from '@tiptap/extension-collaboration' @@ -78,7 +79,7 @@ export default { field: 'title', }), ], - content: '

No matter what you do, this’ll be a single paragraph.', + content: '

No matter what you do, this will be a single paragraph.', }) this.tasks = new Editor({ @@ -107,12 +108,16 @@ export default { Document, Paragraph, Text, + Bold, Collaboration.configure({ document: this.ydoc, field: 'description', }), ], content: ` +

+ Lengthy text +

This can be lengthy text.

@@ -174,9 +179,14 @@ export default { padding: 0.75rem 1rem; border-radius: 5px; border: 1px solid #e9ecef; + transition: .1s all ease-in-out; + + &:hover { + border-color: #68CEF8; + } &--title { - font-size: 1.6rem; + font-size: 1.5rem; } &--json { diff --git a/docs/src/demos/Examples/Tables/index.vue b/docs/src/demos/Examples/Tables/index.vue index e0209314..5d049b85 100644 --- a/docs/src/demos/Examples/Tables/index.vue +++ b/docs/src/demos/Examples/Tables/index.vue @@ -94,15 +94,17 @@ export default { TableCell, ], content: ` -

+

Have you seen our tables? They are amazing! -

+

+
  • tables with rows, cells and headers (optional)
  • +
  • support for colgroup and rowspan
  • +
  • and even resizable columns (optional)
  • +

    + Here is an example: +

    @@ -115,6 +117,17 @@ export default { + + + + + + + + + + +
    songwriter actress
    Philipp Kühndesignerdevelopermaker
    Hans Pagelwrote thisthat’s it
    `, @@ -130,6 +143,8 @@ export default {