diff --git a/src/components/extensions/SubscriptStyle.js b/src/components/extensions/SubscriptStyle.js deleted file mode 100644 index 40527dc..0000000 --- a/src/components/extensions/SubscriptStyle.js +++ /dev/null @@ -1,31 +0,0 @@ -import { Mark } from 'tiptap' -import { toggleMark } from 'tiptap-commands' - -export default class SubscriptStyle extends Mark { - - get name() { - return 'subscriptstyle' - } - - get schema() { - return { - parseDOM: [ - { - tag: 'sub', - }, - //{ - // style: 'text-decoration', - // getAttrs: value => value === 'underline', - // }, - ], - toDOM: () => ['sub', 0], - } - - - } - - commands({ type }) { - return () => toggleMark(type) - } - -} diff --git a/src/components/extensions/SuperscriptStyle.js b/src/components/extensions/SuperscriptStyle.js deleted file mode 100644 index 4e704f4..0000000 --- a/src/components/extensions/SuperscriptStyle.js +++ /dev/null @@ -1,27 +0,0 @@ -import { Mark } from 'tiptap' -import { toggleMark } from 'tiptap-commands' - -export default class SuperscriptStyle extends Mark { - - get name() { - return 'superscriptstyle' - } - - get schema() { - return { - parseDOM: [ - { - tag: 'sup', - }, - ], - toDOM: () => ['sup', 0], - } - - - } - - commands({ type }) { - return () => toggleMark(type) - } - -}