Skip to content

Commit 93d545f

Browse files
committed
fix(preview): Fix some linting issues
Signed-off-by: Jonas <jonas@freesources.org>
1 parent 1bbf36f commit 93d545f

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Editor/PreviewOptions.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export default {
9797
deleteNode() {
9898
this.editor.commands.deleteRange({
9999
from: this.offset,
100-
to: this.offset + this.nodeSize
100+
to: this.offset + this.nodeSize,
101101
})
102102
},
103103
},

src/nodes/Paragraph.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*/
55

66
import TiptapParagraph from '@tiptap/extension-paragraph'
7-
import { VueNodeViewRenderer } from '@tiptap/vue-2'
87
import previewOptions from '../plugins/previewOptions.js'
98

109
const Paragraph = TiptapParagraph.extend({

src/plugins/previewOptions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export const previewOptionsPluginKey = new PluginKey('linkParagraphMenu')
1616
* Add preview options to linkParagraphs.
1717
*
1818
* @param {object} options - options for the plugin
19+
* @param {object} options.editor - the tiptap editor
1920
*
2021
* @return {Plugin<DecorationSet>}
2122
*/

0 commit comments

Comments
 (0)