diff --git a/docs/src/components/Demo/index.vue b/docs/src/components/Demo/index.vue index a13307ec..4d99d5d9 100644 --- a/docs/src/components/Demo/index.vue +++ b/docs/src/components/Demo/index.vue @@ -20,6 +20,9 @@ + @@ -81,6 +84,10 @@ export default { activeFile() { return this.files[this.currentIndex] }, + + githubUrl() { + return `https://github.com/ueberdosis/tiptap-next/tree/main/docs/src/demos/${this.name}` + }, }, mounted() { diff --git a/docs/src/components/Demo/style.scss b/docs/src/components/Demo/style.scss index c215eba2..f5a43b88 100644 --- a/docs/src/components/Demo/style.scss +++ b/docs/src/components/Demo/style.scss @@ -48,4 +48,8 @@ border-radius: 0; } } + + &__link { + padding: 1rem 1.5rem; + } } \ No newline at end of file