diff --git a/docs/src/components/Demo/index.vue b/docs/src/components/Demo/index.vue index 96115d844..4086b41b6 100644 --- a/docs/src/components/Demo/index.vue +++ b/docs/src/components/Demo/index.vue @@ -82,7 +82,7 @@ export default { computed: { mainFile() { const file = this.files - .find(item => item.path.endsWith('.vue') || item.path.endsWith('.jsx')) + .find(item => item.path.endsWith('index.vue') || item.path.endsWith('.jsx')) if (!file) { return @@ -122,7 +122,7 @@ export default { .filter(item => { return ['vue', 'jsx', 'scss'].includes(item.extension) }) - .sortBy(item => item.path.split('/').length) + .sortBy(item => item.path.split('/').length && !item.path.endsWith('index.vue')) .toArray() }, } diff --git a/packages/vue/src/components/FullEditor.vue b/docs/src/demos/Examples/VModel/Editor.vue similarity index 55% rename from packages/vue/src/components/FullEditor.vue rename to docs/src/demos/Examples/VModel/Editor.vue index 2d038bd88..df0785830 100644 --- a/packages/vue/src/components/FullEditor.vue +++ b/docs/src/demos/Examples/VModel/Editor.vue @@ -1,12 +1,11 @@ + + diff --git a/packages/vue/src/index.ts b/packages/vue/src/index.ts index e9ec282ad..d668e82c8 100644 --- a/packages/vue/src/index.ts +++ b/packages/vue/src/index.ts @@ -1,4 +1,3 @@ export * from '@tiptap/core' export { default as VueRenderer } from './VueRenderer' export { default as EditorContent } from './components/EditorContent' -export { default as FullEditor } from './components/FullEditor.vue'