docs: update content

This commit is contained in:
Hans Pagel
2021-04-30 19:42:44 +02:00
parent f3e21e1b81
commit a645a84729
42 changed files with 103 additions and 40 deletions

View File

@@ -0,0 +1,20 @@
<template>
<div class="remark-container pro">
<p>
Writing documentation needs attention to detail, a great understanding of the project and time to write.
</p>
<p>
Though tiptap is used by thousands of developers all around the world, its still a side project for us. Lets change that and make open source our full-time job! With nearly 300 sponsors we are half way there already.
</p>
<p>
Join them and become a sponsor! Enable us to put more time into open source and well fill this page and keep it up to date for you.
</p>
<p>
--
</p>
<g-link to="https://github.com/sponsors/ueberdosis">
Become a sponsor on GitHub
</g-link>
</div>
</template>

View File

@@ -1,3 +1,3 @@
# blur
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# createParagraphNear
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# deleteRange
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# deleteSelection
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# enter
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# exitCode
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# extendMarkRange
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# focus
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# joinBackward
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# joinForward
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# keyboardShortcut
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# liftEmptyBlock
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# liftListItem
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# lift
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# newlineInCode
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# replaceRange
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# replace
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# resetAttributes
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# scrollIntoView
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# selectAll
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# selectNodeBackward
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# selectNodeForward
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# selectParentNode
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# setMark
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# setNodeSelection
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# setNode
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# setTextSelection
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# sinkListItem
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# splitBlock
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# splitListItem
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# toggleList
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# toggleMark
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# toggleNode
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# toggleWrap
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# undoInputRule
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# unsetAllMarks
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# unsetMark
TODO
<ContentMissing />

View File

@@ -1,3 +1,3 @@
# wrapInList
TODO
<ContentMissing />

View File

@@ -1,7 +1,11 @@
# Images
:::pro Fund the development
We need your support to maintain, update, support and develop tiptap. If youre hoping for more features related to images, [become a sponsor and fund our work](/sponsor).
:::pro What about
Wed love to build more features related to images: Resizeable images, images with a caption, floating images … But that takes time.
Though thousands of developers use tiptap every day, its still not our full-time job. Wed like to change that. Are you able to help us reach our goal?
[Become a sponsor on GitHub →](https://github.com/sponsors/ueberdosis)
:::
<demo name="Examples/Images" />

View File

@@ -131,90 +131,128 @@
items:
- title: blur
link: /api/commands/blur
type: draft
- title: clearContent
link: /api/commands/clear-content
- title: clearNodes
link: /api/commands/clear-nodes
- title: createParagraphNear
link: /api/commands/create-paragraph-near
type: draft
- title: deleteRange
link: /api/commands/delete-range
type: draft
- title: deleteSelection
link: /api/commands/delete-selection
type: draft
- title: enter
link: /api/commands/enter
type: draft
- title: exitCode
link: /api/commands/exit-code
type: draft
- title: extendMarkRange
link: /api/commands/extend-mark-range
type: draft
- title: focus
link: /api/commands/focus
type: draft
- title: insertContent
link: /api/commands/insert-content
- title: joinBackward
link: /api/commands/join-backward
type: draft
- title: joinForward
link: /api/commands/join-forward
type: draft
- title: keyboardShortcut
link: /api/commands/keyboard-shortcut
type: draft
- title: liftEmptyBlock
link: /api/commands/lift-empty-block
type: draft
- title: liftListItem
link: /api/commands/lift-list-item
type: draft
- title: lift
link: /api/commands/lift
type: draft
- title: newlineInCode
link: /api/commands/newline-in-code
type: draft
- title: replaceRange
link: /api/commands/replace-range
type: draft
- title: replace
link: /api/commands/replace
type: draft
- title: resetAttributes
link: /api/commands/reset-attributes
type: draft
- title: scrollIntoView
link: /api/commands/scroll-into-view
type: draft
- title: selectAll
link: /api/commands/select-all
type: draft
- title: selectNodeBackward
link: /api/commands/select-node-backward
type: draft
- title: selectNodeForward
link: /api/commands/select-node-forward
type: draft
- title: selectParentNode
link: /api/commands/select-parent-node
type: draft
- title: setContent
link: /api/commands/set-content
- title: setMark
link: /api/commands/set-mark
type: draft
- title: setNode
link: /api/commands/set-node
type: draft
- title: setNodeSelection
link: /api/commands/set-node-selection
type: draft
- title: setTextSelection
link: /api/commands/set-text-selection
type: draft
- title: sinkListItem
link: /api/commands/sink-list-item
type: draft
- title: splitBlock
link: /api/commands/split-block
type: draft
- title: splitListItem
link: /api/commands/split-list-item
type: draft
- title: toggleList
link: /api/commands/toggle-list
type: draft
- title: toggleMark
link: /api/commands/toggle-mark
type: draft
- title: toggleNode
link: /api/commands/toggle-node
type: draft
- title: toggleWrap
link: /api/commands/toggle-wrap
type: draft
- title: undoInputRule
link: /api/commands/undo-input-rule
type: draft
- title: unsetAllMarks
link: /api/commands/unset-all-marks
type: draft
- title: unsetMark
link: /api/commands/unset-mark
type: draft
- title: updateAtttributes
link: /api/commands/update-attributes
- title: wrapInList
link: /api/commands/wrap-in-list
type: draft
- title: Nodes
link: /api/nodes
items:

View File

@@ -52,4 +52,5 @@ export default function (Vue) {
Vue.component('Layout', App)
Vue.component('Demo', () => import(/* webpackChunkName: "demo" */ '~/components/Demo'))
Vue.component('Demos', () => import(/* webpackChunkName: "demos" */ '~/components/Demos'))
Vue.component('ContentMissing', () => import(/* webpackChunkName: "contentMissing" */ '~/components/ContentMissing'))
}