Open lpfy opened 2 years ago
Just wondering how to use subscript and superscript? seems have to use native-extensions? not sure why the following not working.
<tiptap-vuetify v-model="content" :extensions="extensions" :native-extensions="nativeExtensions" />
import Superscript from "@tiptap/extension-superscript"; import Subscript from "@tiptap/extension-subscript"; import { TiptapVuetify, Bold, Italic, } from "tiptap-vuetify";
import Superscript from "@tiptap/extension-superscript";
import Subscript from "@tiptap/extension-subscript";
import { TiptapVuetify, Bold, Italic, } from "tiptap-vuetify";
export default { components: { TiptapVuetify }, data: () => ({ extensions: [ Bold, Italic ], nativeExtensions: [new Subscript(), new Superscript()], }), };
Just wondering how to use subscript and superscript? seems have to use native-extensions? not sure why the following not working.
<tiptap-vuetify v-model="content" :extensions="extensions" :native-extensions="nativeExtensions" />
import Superscript from "@tiptap/extension-superscript";
import Subscript from "@tiptap/extension-subscript";
import { TiptapVuetify, Bold, Italic, } from "tiptap-vuetify";
export default { components: { TiptapVuetify }, data: () => ({ extensions: [ Bold, Italic ], nativeExtensions: [new Subscript(), new Superscript()], }), };