mudoo / quill-resize-module Goto Github PK
View Code? Open in Web Editor NEWA module for Quill rich text editor to allow images and custom elements to be resized.
License: MIT License
A module for Quill rich text editor to allow images and custom elements to be resized.
License: MIT License
Error at line 90 of Toolbar.js
TypeError: Cannot read property 'style' of undefined
Hello, nice repo. would be better if you implement alt text for images.
Could you show an integration with ReactJS?
BaseModule not export from index.js
When i embed a video it doesn't seem to resize, on the images it works fine.
I love what you are trying to accomplish in this fork, but I can't use it, because every time I click on an image I get
Uncaught TypeError: Cannot read property 'style' of undefined
at Toolbar.js:90
at Array.forEach (<anonymous>)
at Toolbar._addToolbarButtons (Toolbar.js:67)
at Toolbar.onCreate (Toolbar.js:29)
at QuillResize.js:82
at Array.forEach (<anonymous>)
at QuillResize.initializeModules (QuillResize.js:81)
at QuillResize.show (QuillResize.js:176)
at QuillResize.judgeShow (QuillResize.js:158)
at QuillResize.handleClick (QuillResize.js:120)
This only happens with medium and large pictures. When I use small pictures, then nothing happens. Nothing useful or harmful happens when I try to resize a small picture, but I am not as worried about that as I am worried about the exception.
After the exception, there is a little gray box in the top left corner of the picture, as shown in this screenshot
Here is the offending code:
button.children
is an empty array
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.