quill-video-resize-module2

0.0.1 • Public • Published

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>

Package Sidebar

Install

npm i quill-video-resize-module2

Weekly Downloads

221

Version

0.0.1

License

MIT

Unpacked Size

51.5 kB

Total Files

15

Last publish

Collaborators

  • marchfantasy