// 链接、图片、视频
['link', 'image'],
// 新添加的工具
['sourceEditor']
];
const handlers = {
shadeBox: null,...= '源码编辑';
}
};
工具名,工具方法名,类名:
这里要注意的是:工具名和工具方法名是一样的,并且生成的button工具拥有ql-工具名的类名。...同一个页面的多个富文本name不能重复的
name: String,
// 图片类型
imgType: {
type: Array,
default: () => ['image.../jpeg', 'image/jpg', 'image/png', 'image/gif', 'image/bmp']
},
// 图片限制大小 单位 M
limitSize: {
type...$message.error('上传logo图片大小不能超过 1MB!')