frappe-quill-image-resize
Version:
A module for Quill rich text editor to allow images to be resized.
23 lines (20 loc) • 788 B
HTML
<html>
<head>
<meta charset="utf-8">
<title>Quill Image Resize Module Demo</title>
<script src="http://cdn.quilljs.com/1.2.2/quill.min.js"></script>
<link href="http://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><img src="http://p1.music.126.net/dv_qEzbhSkKzufaCenDchA==/109951163434380822.jpg"></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>
<button onclick="convert()">convert</button>
<script src="script.js"></script>
</body>
</html>