Appearance
功能
CDN
基于 TinyMCE 的富文本编辑器功能示例
展示区 |
---|
编辑器配置 |
结果 |
TinyMCE |
展示区:对话框 |
最小示例
vue
<template>
<Wrapper>
<HTinymce v-model="result" config="mini" />
</Wrapper>
</template>
<script lang="ts" setup>
import { ref } from 'vue'
import Wrapper from '@/components/simple-wrapper.vue'
import HTinymce from '../index.vue'
const result = ref('Tinymce')
</script>
API
参数
方法
参数类型