0.0.1 • Published 6 years ago

quill-video-resize-module2 v0.0.1

Weekly downloads
214
License
MIT
Repository
github
Last release
6 years ago

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>