Skip to content
Snippets Groups Projects
Commit 2a9b8fcc authored by Jared Hancock's avatar Jared Hancock
Browse files

Remove placeholder text if found in the draft save

The issue has been filed with Imperavi, but no ticket number or other
tracking information was returned.
parent a8032a3f
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment