rename all extensions (drop suffix)

This commit is contained in:
Philipp Kühn
2018-10-24 07:46:47 +02:00
parent 787892dd4c
commit 6b03315e59
41 changed files with 344 additions and 344 deletions

View File

@@ -7,12 +7,12 @@
<script>
import { Editor, EditorContent } from 'tiptap'
import {
HardBreakNode,
HeadingNode,
BoldMark,
CodeMark,
ItalicMark,
LinkMark,
HardBreak,
Heading,
Bold,
Code,
Italic,
Link,
} from 'tiptap-extensions'
export default {
@@ -24,12 +24,12 @@ export default {
editor: new Editor({
editable: false,
extensions: [
new HardBreakNode(),
new HeadingNode({ maxLevel: 3 }),
new BoldMark(),
new CodeMark(),
new ItalicMark(),
new LinkMark(),
new HardBreak(),
new Heading({ maxLevel: 3 }),
new Bold(),
new Code(),
new Italic(),
new Link(),
],
content: `
<h2>