@think-group/think-tiptap
TypeScript icon, indicating that this package has built-in type declarations

0.6.6 • Public • Published

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>

Readme

Keywords

none

Package Sidebar

Install

npm i @think-group/think-tiptap

Weekly Downloads

2

Version

0.6.6

License

MIT

Unpacked Size

4 MB

Total Files

7

Last publish

Collaborators

  • sondh0127