Commit 898d43aa authored by Aral Balkan's avatar Aral Balkan

Add quill-blot-formatter

Allows formatting of images (and also other embedded types).
parent 3ea9f577
......@@ -10901,6 +10901,14 @@
}
}
},
"quill-blot-formatter": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/quill-blot-formatter/-/quill-blot-formatter-1.0.4.tgz",
"integrity": "sha1-mc0a846M6PcCPW8ijjbuF/DTaB8=",
"requires": {
"deepmerge": "2.0.1"
}
},
"quill-delta": {
"version": "3.6.2",
"resolved": "https://registry.npmjs.org/quill-delta/-/quill-delta-3.6.2.tgz",
......
......@@ -163,6 +163,7 @@ export default {
modules: {
markdownShortcuts: {},
imageDrop: true,
blotFormatter: true,
toolbar: false
// toolbar: [
// [{ header: [1, 2, false] }],
......
......@@ -10,8 +10,10 @@ import 'quill/dist/quill.bubble.css'
import MarkdownShortcuts from 'quill-markdown-shortcuts-for-vue-quill-editor'
import { ImageDrop } from 'quill-image-drop-module'
import BlotFormatter from 'quill-blot-formatter'
Quill.register('modules/markdownShortcuts', MarkdownShortcuts)
Quill.register('modules/imageDrop', ImageDrop)
Quill.register('modules/blotFormatter', BlotFormatter)
Vue.use(VueQuillEditor)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment