client/templates/nodeeditor.html
changeset 600 e12243191095
parent 530 9823b527c3a1
child 649 2b9c120dba55
--- a/client/templates/nodeeditor.html	Thu Mar 31 17:12:55 2016 +0200
+++ b/client/templates/nodeeditor.html	Tue Apr 05 18:32:32 2016 +0200
@@ -5,10 +5,10 @@
 <p>
     <label><%-renkan.translate("Title:")%></label>
     <% if (options.show_node_editor_title_richtext) { %>
-        <div class="Rk-Edit-Title" contenteditable="true"><%=node.title%></div>
+        <div class="Rk-Edit-Title" contenteditable="true" id="Rk-Edit-Title-<%-node._id%>" ><%=node.title%></div>
     <% } else { %>
         <input class="Rk-Edit-Title" type="text" value="<%-node.title%>" />
-    <% } %>    
+    <% } %>
 </p>
 <% if (options.show_node_editor_uri) { %>
     <p>
@@ -31,7 +31,7 @@
     <p>
         <label><%-renkan.translate("Description:")%></label>
         <% if (options.show_node_editor_description_richtext) { %>
-            <div class="Rk-Edit-Description" contenteditable="true"><%=node.description%></div>
+            <div class="Rk-Edit-Description" contenteditable="true" id="Rk-Edit-Description-<%-node._id%>"><%=node.description%></div>
         <% } else { %>
             <textarea class="Rk-Edit-Description"><%=node.description%></textarea>
         <% } %>