@quilljs editor component for @vuejs(2)
Quill editor component for Vue(2).
Unfortunately, since the Quill project has effectively stopped being maintained, vue-quill-editor will be DEPRECATED and will no longer support Vue3; if you're looking for a rich text editor, I recommend migrating to tiptap, which is a much better alternative.
If Quill ever updates v2.0, this project will probably continue to be updated as well. I encourage folks to fork this repository and, if a fork gets popular, I will link to it in this README.
The stalled Quill project can be found in these issues:
NPM
npm install vue-quill-editor --saveyarn add vue-quill-editorCDN
<link rel="stylesheet" href="path/to/quill.core.css"/>
<link rel="stylesheet" href="path/to/quill.snow.css"/>
<link rel="stylesheet" href="path/to/quill.bubble.css"/>
<script type="text/javascript" src="path/to/quill.js"></script>
<script type="text/javascript" src="path/to/vue.min.js"></script>
<script type="text/javascript" src="path/to/dist/vue-quill-editor.js"></script>
<script type="text/javascript">
Vue.use(window.VueQuillEditor)
</script>Global component
import Vue from 'vue'
import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css' // import styles
import 'quill/dist/quill.snow.css' // for snow theme
import 'quill/dist/quill.bubble.css' // for bubble theme
Vue.use(VueQuillEditor, /* { default global options } */)import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
import { quillEditor } from 'vue-quill-editor'
export default {
components: {
quillEditor
}
}SSR component
See Nuxt.js example code.
import Quill from 'quill'
import yourQuillModule from '../yourModulePath/yourQuillModule.js'
Quill.register('modules/yourQuillModule', yourQuillModule)
// Vue app...…Detailed changes for each release are documented in the release notes.
Licensed under the MIT License.
vue-quill-editor with nuxt 3
输入中文时,第一个字母会出现在编辑器里
DOMNodeInserted
使用的时候失去焦点问题
请问如何在vue-quill-editor中添加中文字体
ios端不能插入图片
Space Bar not allowed sometimes
TypeError: Cannot read property '_c' of undefined
when my content have e.x <div> so content not supported it.
Upgrade to Quill 2.0