diff --git a/js/redactor-osticket.js b/js/redactor-osticket.js index 486cadd7281d2467a437dbb3af9b6cde0ab3b1a1..3e5f3fc06276eadd6c9f1e184e64a65932c6f70d 100644 --- a/js/redactor-osticket.js +++ b/js/redactor-osticket.js @@ -122,6 +122,9 @@ $(function() { .attr('height',img.clientHeight); html = html.replace(before, img.outerHTML); }); + // Drop the placeholder text if found in the box + // DELME: When this is fixed upstream in Redactor + html = html.replace(/<span class="redactor_placeholder[^<]+<\/span>/, ''); return html; }, redact = function(el) {