Commit 1c1a6c388c8f2e8d82f421f3be7dcdf7b286f6f1
1 parent
ac343688
Exists in
master
and in
22 other branches
[media-panel-improvements] Insert file media on text by click
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/cms/_drag_and_drop_note.html.erb
app/views/cms/media_panel/_generic.html.erb
1 | <div class="item file <%= icon_for_article(@file) %>" data-item="div"> | 1 | <div class="item file <%= icon_for_article(@file) %>" data-item="div"> |
2 | <div> | 2 | <div> |
3 | - <a href="<%= url_for(@file.url) %>"><%= @file.title %></a> | 3 | + <a class="add-to-text" href="<%= url_for(@file.url) %>"><%= @file.title %></a> |
4 | </div> | 4 | </div> |
5 | </div> | 5 | </div> |