docs: update content
This commit is contained in:
20
docs/src/components/ContentMissing/index.vue
Normal file
20
docs/src/components/ContentMissing/index.vue
Normal 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, it’s still a side project for us. Let’s 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 we’ll 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>
|
||||
@@ -1,3 +1,3 @@
|
||||
# blur
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# createParagraphNear
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# deleteRange
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# deleteSelection
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# enter
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# exitCode
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# extendMarkRange
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# focus
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# joinBackward
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# joinForward
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# keyboardShortcut
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# liftEmptyBlock
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# liftListItem
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# lift
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# newlineInCode
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# replaceRange
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# replace
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# resetAttributes
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# scrollIntoView
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# selectAll
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# selectNodeBackward
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# selectNodeForward
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# selectParentNode
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# setMark
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# setNodeSelection
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# setNode
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# setTextSelection
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# sinkListItem
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# splitBlock
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# splitListItem
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# toggleList
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# toggleMark
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# toggleNode
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# toggleWrap
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# undoInputRule
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# unsetAllMarks
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# unsetMark
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# wrapInList
|
||||
|
||||
TODO
|
||||
<ContentMissing />
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
# Images
|
||||
|
||||
:::pro Fund the development ♥
|
||||
We need your support to maintain, update, support and develop tiptap. If you’re hoping for more features related to images, [become a sponsor and fund our work](/sponsor).
|
||||
:::pro What about …
|
||||
We’d 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, it’s still not our full-time job. We’d 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" />
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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'))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user