@vv-package/v-editor
v1.0.0
Published
upload img and write rich text easily
Downloads
1
Readme
v-editor
Lightweight rich text editor based on ckeditor5 and upload-to-ali.
Table of Contents
Feature
- File Upload : Integrated upload components, just configure the basic information of OSS (Configuration Reference), you can upload the picture or file to oss, support screenshot paste upload
- Add Net Image: Can quickly add a net picture using the markdown picture syntax(
![]()
), or you can paste it directly - Fullscreen Editing: Allows the editor to cover the window
Demo
Install
# Upload image function depends on upload-to-ali component
yarn add @femessage/upload-to-ali @femessage/v-editor
Quick start
<!-- step1 Ensure oss config -->
<!-- step2 In the .vue file that needs to use the -->
renderer
<template>
<v-editor v-model="content" />
</template>
<script>
import VEditor from '@femessage/v-editor'
export default {
components: {
VEditor
},
data() {
return {
content: ''
}
}
}
</script>
Links
License
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!