Commit c49692be authored by Paris Liakos's avatar Paris Liakos

Add file- prefix to the view mode when embedding in wysiwyg

parent 04a43b59
......@@ -225,7 +225,7 @@ function create_element (html, info) {
var classes = ['media-element'];
classes.push(info.view_mode.replace(/_/g, '-'));
classes.push('file-' + info.view_mode.replace(/_/g, '-'));
element.addClass(classes.join(' '));
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 to comment