@@ -123,6 +123,13 @@ import PageNavigation from '@/components/PageNavigation'
// import GithubButton from 'vue-github-button'
export default {
+ props: {
+ showSidebar: {
+ type: Boolean,
+ default: true,
+ },
+ },
+
components: {
Icon,
PageNavigation,
diff --git a/docs/src/layouts/App/style.scss b/docs/src/layouts/App/style.scss
index b33ffe12..b3d342ff 100644
--- a/docs/src/layouts/App/style.scss
+++ b/docs/src/layouts/App/style.scss
@@ -8,7 +8,7 @@ $menuBreakPoint: 800px;
&__navigation {
position: fixed;
display: flex;
- z-index: 1;
+ z-index: 2;
top: 0;
width: 100%;
height: $navHeight;
@@ -33,6 +33,8 @@ $menuBreakPoint: 800px;
&__content {
display: flex;
+ position: relative;
+ z-index: 1;
}
&__name {
@@ -163,15 +165,15 @@ $menuBreakPoint: 800px;
}
}
- &__inner {
- margin: 0 auto;
- max-width: 50rem;
- padding: 0 1rem;
+ // &__inner {
+ // margin: 0 auto;
+ // max-width: 50rem;
+ // padding: 0 1rem;
- @media (min-width: $mobileBreakPoint) {
- padding: 0 2rem;
- }
- }
+ // @media (min-width: $mobileBreakPoint) {
+ // padding: 0 2rem;
+ // }
+ // }
&__link-group {
margin-bottom: 1rem;
diff --git a/docs/src/links.yaml b/docs/src/links.yaml
index fa075b7d..586a5b41 100644
--- a/docs/src/links.yaml
+++ b/docs/src/links.yaml
@@ -1,7 +1,5 @@
- title: Overview
items:
- - title: Introduction
- link: /
- title: Installation
link: /overview/installation
- title: Upgrade Guide
diff --git a/docs/src/pages/index.vue b/docs/src/pages/index.vue
new file mode 100644
index 00000000..2ebcb7c5
--- /dev/null
+++ b/docs/src/pages/index.vue
@@ -0,0 +1,95 @@
+
+
+
+
+ Headless WYSIWYG Text Editor
+
+
+ tiptap is a headless wrapper around [ProseMirror](https://ProseMirror.net) – a toolkit for building rich text WYSIWYG editors, which is already in use at many well-known companies such as *New York Times*, *The Guardian* or *Atlassian*.
+
+
+ Create exactly the rich text editor you want out of customizable building blocks. tiptap comes with sensible defaults, a lot of extensions and a friendly API to customize every aspect. It’s backed by a welcoming community, open source, and free.
+
+
+
+
+
+
+
+
+
+ Features
+
+
+
+ Headless
+
+
+ We don’t tell you what a menu should look like or where it should be rendered in the DOM. That’s why tiptap is headless and comes without any CSS. You are in full control over markup, styling and behaviour.
+
+
+
+ Framework-agnostic
+
+
+ No matter what framework you use, you’ll enjoy tiptap. Out of the box, it works with plain JavaScript and Vue.js, but it’s also possible to use it in [React](/guide/getting-started/react), Svelte and others.
+
+
+
+ TypeScript
+
+
+ tiptap 2 is written in TypeScript. That helps us to find bugs early and gives you a nice autocomplete for the API (if your IDE supports that) on top of the extensive human written documentation.
+
+
+
+ Collaborative
+
+
+ Real-time collaboration, syncing between different devices and working offline used to be hard. We provide everything you need to keep everything in sync, conflict-free with the power of [Y.js](https://github.com/yjs/yjs). Our production-grade setup requires less than 20 lines of code.
+
+
+
+ Community
+
+
+ Over the years, a lovely community has grown around tiptap. There’s so much content shared, so many people helping out in issues and a ton of community extensions, you’ll be surprised how much that can help.
+
+
+
+
+
+ Who uses tiptap?
+
+ - [GitLab](https://gitlab.com)
+ - [Statamic CMS](https://statamic.com)
+ - [Twill CMS](https://twill.io)
+ - [ApostropheCMS](https://apostrophecms.com)
+ - [Directus CMS](https://directus.io)
+ - [Nextcloud](https://apps.nextcloud.com/apps/text)
+ - [DocIQ](https://www.dociq.io)
+ - [ycode](https://www.ycode.com/)
+ - [Scrumpy](https://www.scrumpy.io)
+ - … and [many more](https://github.com/ueberdosis/tiptap/network/dependents?package_id=UGFja2FnZS0xMzE5OTg0ODc%3D)
+
+
+
+
+ License
+
+
+ tiptap is licensed under [MIT](https://github.com/ueberdosis/tiptap-next/blob/main/LICENSE.md), so you’re free to do whatever you want. If you’re using it in production, do the right thing and [become one of our wonderful sponsors](/sponsor) to fund the development, maintenance and support of tiptap and the whole ecosystem.
+
+
+
+
+
+
diff --git a/docs/src/templates/DocPage/index.vue b/docs/src/templates/DocPage/index.vue
index 89096ec4..03492cc2 100644
--- a/docs/src/templates/DocPage/index.vue
+++ b/docs/src/templates/DocPage/index.vue
@@ -1,8 +1,10 @@
-
-
-
+
+
+
+
+
@@ -19,7 +21,13 @@ query($path: String!) {