fix some linting errors

This commit is contained in:
Philipp Kühn
2020-09-23 23:38:11 +02:00
parent 59adb2c616
commit 5dff1c00d8
32 changed files with 82 additions and 78 deletions

View File

@@ -4,20 +4,21 @@ import Document from '@tiptap/extension-document'
import Paragraph from '@tiptap/extension-paragraph'
import Text from '@tiptap/extension-text'
// eslint-disable-next-line
const html = generateHtml({
'type': 'document',
'content': [{
'type': 'paragraph',
'attrs': {
'align': 'left'
type: 'document',
content: [{
type: 'paragraph',
attrs: {
align: 'left',
},
'content': [{
'type': 'text',
'text': 'Example Text'
}]
}]
content: [{
type: 'text',
text: 'Example Text',
}],
}],
}, [
new Document(),
new Paragraph(),
new Text(),
])
])