1.1.3 • Published 5 years ago
quill-vue-mobile v1.1.3
quill-vue-mobile
一个 quill 的封装,用于移动端 webview 的跨平台富文本编辑器,类似知乎移动端富文本
preview
Project setup
npm install quill-vue-mobile
usage
<template>
<quill-vue-mobile
:defaultValue="{ title: '我是默认标题', content: '我是默认内容' }"
ref="editor"
@upload-img="uploadImg"
@title-change="titleChange"
@content-change="contentChange"
/>
</template>
<script>
export default {
data() {
return {
title: '',
}
},
methods: {
uploadImg() {
this.$refs.editor.renderImg(
'https://dss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo_top-e3b63a0b1b.png'
)
},
contentChange(w) {
console.log('TCL: contentChange -> w', w)
},
titleChange(w) {
console.log('TCL: titleChange -> w', w)
},
},
}
</script>
<style scoped></style>
1.1.1
5 years ago
1.1.0
5 years ago
1.0.0
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
0.2.1
5 years ago
0.1.28
5 years ago
0.1.29
5 years ago
0.2.0
5 years ago
0.1.27
5 years ago
0.1.23
5 years ago
0.1.24
5 years ago
0.1.25
5 years ago
0.1.26
5 years ago
0.1.22
5 years ago
0.1.21
5 years ago
0.1.20
5 years ago
0.1.19
5 years ago
0.1.18
5 years ago
0.1.17
5 years ago
0.1.16
5 years ago
0.1.14
5 years ago
0.1.12
5 years ago
0.1.13
5 years ago
0.1.11
5 years ago
0.1.10
5 years ago
0.1.9
5 years ago
0.1.8
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago