diff --git a/examples/Components/Routes/TextAlign/Paragraph.js b/examples/Components/Routes/TextAlign/Paragraph.js deleted file mode 100644 index 6185cca1..00000000 --- a/examples/Components/Routes/TextAlign/Paragraph.js +++ /dev/null @@ -1,34 +0,0 @@ -import { setBlockType } from 'tiptap-commands' -import { Node } from 'tiptap' - -export default class Paragraph extends Node { - - get name() { - return 'paragraph' - } - - get schema() { - return { - attrs: { - textAlign: { - default: 'left', - }, - }, - content: 'inline*', - group: 'block', - draggable: false, - parseDOM: [{ - tag: 'p', - getAttrs: node => ({ - textAlign: node.style.textAlign, - }), - }], - toDOM: node => ['p', { style: `text-align: ${node.attrs.textAlign}` }, 0], - } - } - - commands({ type }) { - return attrs => setBlockType(type, attrs) - } - -} diff --git a/examples/Components/Routes/TextAlign/index.vue b/examples/Components/Routes/TextAlign/index.vue deleted file mode 100644 index 81d12f75..00000000 --- a/examples/Components/Routes/TextAlign/index.vue +++ /dev/null @@ -1,93 +0,0 @@ - - - - - diff --git a/examples/Components/Subnavigation/index.vue b/examples/Components/Subnavigation/index.vue index 3cc9cf5b..97d15b57 100644 --- a/examples/Components/Subnavigation/index.vue +++ b/examples/Components/Subnavigation/index.vue @@ -15,9 +15,6 @@ Images - - Text Align - Hiding Menu Bar diff --git a/examples/main.js b/examples/main.js index c7b881f0..47933f78 100644 --- a/examples/main.js +++ b/examples/main.js @@ -47,13 +47,6 @@ const routes = [ githubUrl: 'https://github.com/heyscrumpy/tiptap/tree/master/examples/Components/Routes/Images', }, }, - { - path: '/text-align', - component: () => import('Components/Routes/TextAlign'), - meta: { - githubUrl: 'https://github.com/heyscrumpy/tiptap/tree/master/examples/Components/Routes/TextAlign', - }, - }, { path: '/hiding-menu-bar', component: () => import('Components/Routes/HidingMenuBar'),