@think-group/think-tiptap
v0.6.6
Published
Tiptap extensions for ThinkGroup
Downloads
3
Readme
think-tiptap
Getting started
yarn add @vt7/think-tiptap
Basic Usage
In main.ts
import ThinkTiptap from '@vt7/think-tiptap'
import '@vt7/think-tiptap/dist/think-tiptap.css'
Vue.use(ThinkTiptap)
<template>
<ThinkTiptap v-model="content" :config="config" />
</template>
<script>
export default {
data() {
return {
content: '',
config: {
baseURL: '',
imageBaseURL: '',
imageUploadURL: '',
imageUploadFolder: '',
editable: true,
menuBubble: true,
menuBar: true,
},
}
},
}
</script>