Open
Description
The property options.acceptImages is not checked in two places before calling addImage() in the code for the HTML Editor:
- extractImageFromHtml()
- addFile()
I would propose that the addImage() function be modified to check the options.acceptImages at the start of the function:
obj.addImage = function(src, asSnippet) {
if (! obj.options.acceptImages) {
return;
}
Might be a good idea in addPdf() to add a similar check of options.acceptFiles at the top of the functions.
Not sure if adding a similar check to addFile() would be a good idea?
Metadata
Metadata
Assignees
Labels
No labels
Activity