安装: npm install @tiptap/vue-3 @tiptap/starter-kit 配置与用法: <template> <editor-content :editor="editor " /> </template> <script> import { EditorContent, useEditor } from '@tiptap/vue-3'; import StarterKit
editor="editor" />
Reactimport{useEditor,EditorContent}from'@tiptap/react'//Vue3import{useEditor,EditorContent}from'@tiptap/vue