0.0.1 • Published 6 years ago
quill-video-resize-module2 v0.0.1
quill-video-resize-module2
forked from johnnychn/quill-video-resize-module
install
yarn add quill-video-resize-module2
basic usage
<script>
import { quillEditor, Quill } from 'vue-quill-editor'
import VideoResize from 'quill-video-resize-module2'
Quill.register('modules/VideoResize', VideoResize)
export default {
options: {
modules: {
VideoResize: {
modules: [ 'Resize', 'DisplaySize', 'Toolbar' ],
tagName: 'iframe', // iframe | video
}
}
}
}
</script>
<style>
.quill-editor iframe,
.quill-editor video {
pointer-events: none;
}
</style>
0.0.1
6 years ago