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

@@ -1,7 +1,7 @@
import { setBlockType } from 'tiptap-commands'
import { Node } from 'tiptap'
export default class ParagraphNode extends Node {
export default class Paragraph extends Node {
get name() {
return 'paragraph'

View File

@@ -38,10 +38,10 @@
import Icon from 'Components/Icon'
import { Editor, EditorContent, MenuBar } from 'tiptap'
import {
HardBreakNode,
CodeMark,
HardBreak,
Code,
} from 'tiptap-extensions'
import ParagraphAlignmentNode from './Paragraph.js'
import ParagraphAlignment from './Paragraph.js'
export default {
components: {
@@ -53,9 +53,9 @@ export default {
return {
editor: new Editor({
extensions: [
new HardBreakNode(),
new CodeMark(),
new ParagraphAlignmentNode(),
new HardBreak(),
new Code(),
new ParagraphAlignment(),
],
content: `
<p style="text-align: left">