attachment list for links + bad links in red
[fnpeditor.git] / src / editor / plugins / core / links / box.html
index d4594a7..4644537 100644 (file)
@@ -1,5 +1,5 @@
-<div contenteditable="false" link-box style="white-space: nowrap">
-    <a link target="blank" href="<%= href %>"><%= href %></a> --
+<div link-box style="white-space: nowrap">
+    <a link target="_blank" href="<%= url %>"<% if(bad) { %> class="bad-link"<% } %>><%= text %></a> <br/>--
     <span>
         <a class="change" href="#"><%= gettext('change') %></a> |
         <a class="delete" href="#"><%= gettext('remove') %></a>