富文本编辑器 TinyEditor

采用tinymce编辑器二次开发

基础用法

basic.vue

组件配置

TinyEditor Props

属性说明类型默认值
disabled是否禁用编辑器Booleanfalse
modelValue编辑器内容String''
height编辑器高度Number400
document是否显示文档效果Booleanfalse
buttonText按钮文本String'编辑富文本'
showDialogWidth弹窗宽度Number300

TinyEditor Events

事件名说明参数
update:modelValue更新modelValue值(newValue: string) => void
input输入事件(newValue: string) => void
change内容改变事件(newValue: string) => void
click点击触发的事件(event: MouseEvent) => void