Commit b4c93d26 by Urvil Shah

Santizie the Url and avoid encoding.

parent 9c697ddc
Pipeline #7218 passed with stages
in 22 minutes 52 seconds
......@@ -228,6 +228,21 @@
// .froalaEditor()
//});
$(document).ready(function () {
var original_helpers = $.FE.MODULES.helpers;
$.FE.MODULES.helpers = function (editor) {
var helpers = original_helpers(editor);
var isURL = helpers.isURL();
// This is the original sanitizer.
helpers.sanitizeURL = function (url) {
console.log('hello :)')
return url;
};
return helpers;
}
$('#sent_to_email').hide();
$('#sent_to_email_failed').hide();
$.get("/Template/S3Signature", {})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment