Closed MuaazOsaidTahir closed 1 year ago
Hello, @MuaazOsaidTahir , please set the autoConvert
option to false
and make sure the library's version is ^v1.3.0
.
var quill = new Quill('#editor-container', {
modules: {
imageDropAndPaste: {
autoConvert: false,
handler: imageHandler,
},
},
placeholder: 'Copy & paste, or drag an image here...',
// ...
})
Thank you @chenjuneking . Will test it out & let you know. Closing the issue for now & if there'll be any query I'll definitely ask it later.
A network request is sent whenever a URL is pasted in the editor. & if the URL is of an image it is replaced with an image. which is not the behavior I need. Can there be any workaround to run this function urlIsImage optionally? Can a parameter be passed to use this functionality depending on the use case?