Skip to content

Commit

Permalink
feat(paragraph): Don't show link previews
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- committed Dec 23, 2023
1 parent 1c97643 commit c15fb5e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 138 deletions.
6 changes: 0 additions & 6 deletions src/nodes/Paragraph.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
import TiptapParagraph from '@tiptap/extension-paragraph'
import { VueNodeViewRenderer } from '@tiptap/vue-2'
import ParagraphView from './ParagraphView.vue'

const Paragraph = TiptapParagraph.extend({

addNodeView() {
return VueNodeViewRenderer(ParagraphView)
},

parseHTML() {
return this.parent().map(rule => Object.assign(rule, { preserveWhitespace: 'full' }))
},
Expand Down
132 changes: 0 additions & 132 deletions src/nodes/ParagraphView.vue

This file was deleted.

0 comments on commit c15fb5e

Please sign in to comment.