I just wanted to know if someone has already updated quill to it's latest 2.0.0rc version and is using the plugin image-resize for it.
Before it was simply initialisable by using it like that:
var quill = new Quill('#editor', {
modules: {
imageResize: {
displaySize: true
},
toolbar: [
[{ header: [1, 2, 3, false] }],
['bold', 'italic', 'underline'],
['image','link', 'video']
]
},
placeholder: 'Write something...',
readOnly: false,
theme: 'snow'
});
With 2.0.0rc it says, it is not able to import it. Any suggestions?
USE THIS SCRIPT FOR BEFORE 2.0
USE THIS FOR AFTER 2.0