mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 14:13:21 +08:00
fix lint
This commit is contained in:
parent
f329229e03
commit
41ce8c0743
@ -41,7 +41,12 @@ export default {
|
|||||||
flattenedItems() {
|
flattenedItems() {
|
||||||
const flattenedItems = []
|
const flattenedItems = []
|
||||||
|
|
||||||
this.items.forEach(({ title, link, redirect, items }) => {
|
this.items.forEach(({
|
||||||
|
title,
|
||||||
|
link,
|
||||||
|
redirect,
|
||||||
|
items,
|
||||||
|
}) => {
|
||||||
flattenedItems.push({
|
flattenedItems.push({
|
||||||
title,
|
title,
|
||||||
link,
|
link,
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Editor, EditorContent, defaultExtensions } from '@tiptap/vue-starter-kit'
|
import { Editor, EditorContent, defaultExtensions } from '@tiptap/vue-starter-kit'
|
||||||
import Strike from '@tiptap/extension-strike'
|
|
||||||
import Highlight from '@tiptap/extension-highlight'
|
import Highlight from '@tiptap/extension-highlight'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
Loading…
Reference in New Issue
Block a user