Skip to content

marchFantasy/quill-video-resize-module2

 
 

Repository files navigation

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>

About

quill video resize ,support video tagName

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%