Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
这是一个uni-app的通用组件,兼容微信小程序端、安卓端、ios端(未测试)、H5端。作者因没有ios设备无法对ios端进行测试,其他端测试无问题。
微信小程序 | APP | H5 |
---|---|---|
√ | √ | √ |
我的HbuilderX版本2.6.7,不同的版本可能会造成不兼容的问题。
script
中引用组件import jinEdit from '../../components/jin-edit/jin-edit.vue';
export default {
data() {
return {
}
},
components: {
jinEdit
},
methods: {
// 点击发布
editOk(res) {
console.log(res);
}
}
}
template
中使用组件<jinEdit placeholder="请输入内容" @editOk="editOk" uploadFileUrl="/#"></jinEdit>
属性 | 类型 | 默认值 | 说明 |
---|---|---|---|
showImgSize | Boolean | false | 点击图片时显示图片大小控件 |
showImgToolbar | Boolean | false | 点击图片时显示工具栏控件 |
showImgResize | Boolean | false | 点击图片时显示修改尺寸控件 |
placeholder | String | '' | 编辑器占位符 |
uploadFileUrl | String | '#' | 图片上传的服务器地址 |
fileKeyName | String | 'file' | 图片上传时的name |
header | Object | - | 图片上传http请求的header |
html | String | - | 初始化的html |
方法名 | 参数 | 说明 |
---|---|---|
editOk | e={html,text,delta,isPublic} | 点击发布按钮触发 |
以上
FAQs
适用于uni-app的富文本编辑器
The npm package jineditor receives a total of 1 weekly downloads. As such, jineditor popularity was classified as not popular.
We found that jineditor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.