Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (element-plus-tiptap) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
element-plus-tiptap
element-plus-tiptap
is a rich text editor based on Vue 3, Tiptap, and Element Plus. It's simple and easy to use.
element-plus-tiptap
是一个富文本编辑器,它基于vue3, titap和element-plus。使用起来很简单。
Getting Started
install
npm install element-plus-tiptap
import
import { ElementPlusTiptap } from 'element-plus-tiptap'
import 'element-plus-tiptap/dist/theme.css'
usage
<script setup>
import { ref } from 'vue'
import { ElementPlusTiptap } from 'element-plus-tiptap'
import 'element-plus-tiptap/dist/theme.css'
const content = ref('hello world')
</script>
<template>
<element-plus-tiptap v-model="content" />
</template>
快速开始
安装
npm install element-plus-tiptap
引入
import { ElementPlusTiptap } from 'element-plus-tiptap'
import 'element-plus-tiptap/dist/theme.css'
示例
<script setup>
import { ref } from 'vue'
import { ElementPlusTiptap } from 'element-plus-tiptap'
import 'element-plus-tiptap/dist/theme.css'
const content = ref('hello world')
</script>
<template>
<element-plus-tiptap v-model="content" />
</template>