1.1.3 • Published 4 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
4 years ago
1.1.0
4 years ago
1.0.0
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
0.2.1
4 years ago
0.1.28
4 years ago
0.1.29
4 years ago
0.2.0
4 years ago
0.1.27
4 years ago
0.1.23
4 years ago
0.1.24
4 years ago
0.1.25
4 years ago
0.1.26
4 years ago
0.1.22
4 years ago
0.1.21
4 years ago
0.1.20
4 years ago
0.1.19
4 years ago
0.1.18
4 years ago
0.1.17
4 years ago
0.1.16
4 years ago
0.1.14
4 years ago
0.1.12
4 years ago
0.1.13
4 years ago
0.1.11
4 years ago
0.1.10
4 years ago
0.1.9
4 years ago
0.1.8
4 years ago
0.1.7
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago