Merge branch 'main' of github.com:ueberdosis/tiptap-next into main

This commit is contained in:
Hans Pagel
2020-11-30 14:27:47 +01:00
3 changed files with 7 additions and 6 deletions

View File

@@ -111,6 +111,7 @@ export default {
mounted() { mounted() {
this.files = collect(require.context('~/demos/', true, /.+\..+$/).keys()) this.files = collect(require.context('~/demos/', true, /.+\..+$/).keys())
.filter(path => path.startsWith(`./${this.name}/`)) .filter(path => path.startsWith(`./${this.name}/`))
.filter(path => !path.endsWith('.spec.js') && !path.endsWith('.spec.ts'))
.map(path => path.replace('./', '')) .map(path => path.replace('./', ''))
.map(path => { .map(path => {
const extension = path.split('.').pop() const extension = path.split('.').pop()

View File

@@ -47,7 +47,7 @@ new Editor({
extensions: [ extensions: [
...defaultExtensions(), ...defaultExtensions(),
Highlight, Highlight,
] ],
}) })
``` ```