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

@@ -19,12 +19,12 @@
import Icon from 'Components/Icon'
import { Editor, EditorContent, MenuBar } from 'tiptap'
import {
HardBreakNode,
HeadingNode,
ImageNode,
BoldMark,
CodeMark,
ItalicMark,
HardBreak,
Heading,
Image,
Bold,
Code,
Italic,
} from 'tiptap-extensions'
export default {
@@ -37,12 +37,12 @@ export default {
return {
editor: new Editor({
extensions: [
new HardBreakNode(),
new HeadingNode({ maxLevel: 3 }),
new ImageNode(),
new BoldMark(),
new CodeMark(),
new ItalicMark(),
new HardBreak(),
new Heading({ maxLevel: 3 }),
new Image(),
new Bold(),
new Code(),
new Italic(),
],
content: `
<h2>