lpreterite / vue-tinymce-example Goto Github PK
View Code? Open in Web Editor NEW在vue中使用tinymce的例子 📖
License: MIT License
在vue中使用tinymce的例子 📖
License: MIT License
按需引入的demo中的查看main.js传送门404(用了梯子也404),麻烦修复一下,谢谢
如题
全局引入,如上报错 版本是 "@packy-tang/vue-tinymce": "^1.1.2","tinymce": "^5.10.2",
setting配置有文档吗
双向绑定数据没用
报错如下:‘error An unexpected error occurred: "https://registry.npm./@packy-tang%2fvue-tinymce: getaddrinfo ENOTFOUND registry.npm.".
请问有人遇到过同样的问题吗?
uniapp上面能使用吗?或者使用步骤有什么区别吗?
急
setting: {
content_style: "p {margin: 10px; border: 5px solid red; padding: 3px}",
height: 800,
language: 'zh_CN',
plugins: "code image axupimgs preview",
toolbar: "code axupimgs preview",
branding: false,
images_upload_handler: function (blobInfo, succFun, failFun) {
var file = blobInfo.blob(); //转化为易于理解的file对象
var formdata = new FormData();
formdata.append('files', file)
axios.post(${process.env.VUE_APP_BASE_API}/system/oss/uploadListByEditor
, formdata, {
headers: {
'Content-Type': 'multipart/form-data'
},
}).then(result => {
console.log(result)
if (result.data.code == 200) {
succFun(result.data.data[0])
} else {
failFun(result.data.code)
}
})
}
}
i can not find this function on toolbar
看了一下作者封装的代码里面的逻辑似乎又没有什么问题,不知道作者对此有没有研究过
如题
我把富文本插入到一个elementui的对话框内,如果对话框我选择打开的话,还会报错 unexpected token '<' from theme.min.js
实在不知道是什么影响的
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.