UNPKG

velsint

Version:

A module for Quill rich text editor to allow images to be resized.

24 lines (22 loc) 873 B
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Quill Image Resize Module Demo</title> <script src="//cdn.quilljs.com/1.2.2/quill.min.js"></script> <link href="//cdn.quilljs.com/1.2.2/quill.snow.css" rel="stylesheet"> <script src="../image-resize.min.js"></script> </head> <body> <h1>Quill Image Resize Module Demo</h1> <div id="editor" style="max-height:500px;overflow:auto"> <p>Click on the Image Below to resize</p> <p><img src="http://ri-sandbox.s3.amazonaws.com/qulljs.png"></p> <p>Some initial <strong>bold</strong> text</p> <p><img src="http://ri-sandbox.s3.amazonaws.com/pi-rate.png"></p> </div> <p>Also see <a href="https://github.com/kensnyder/quill-image-drop-module">quill-image-drop-module</a>, a module that enables copy-paste and drag/drop for Quill.</p> <script src="script.js"></script> </body> </html>