Skip to content

Commit

Permalink
fix(preview): Fix some linting issues
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- committed Sep 18, 2024
1 parent 1bbf36f commit 93d545f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Editor/PreviewOptions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default {
deleteNode() {
this.editor.commands.deleteRange({
from: this.offset,
to: this.offset + this.nodeSize
to: this.offset + this.nodeSize,
})
},
},
Expand Down
1 change: 0 additions & 1 deletion src/nodes/Paragraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

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

const Paragraph = TiptapParagraph.extend({
Expand Down
1 change: 1 addition & 0 deletions src/plugins/previewOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const previewOptionsPluginKey = new PluginKey('linkParagraphMenu')
* Add preview options to linkParagraphs.
*
* @param {object} options - options for the plugin
* @param {object} options.editor - the tiptap editor
*
* @return {Plugin<DecorationSet>}
*/
Expand Down

0 comments on commit 93d545f

Please sign in to comment.