client/templates/nodeeditor.html
changeset 468 364c367df7fc
parent 459 98cae534083d
child 482 a55c33989404
--- a/client/templates/nodeeditor.html	Wed Jun 10 14:27:12 2015 +0200
+++ b/client/templates/nodeeditor.html	Fri Jun 12 14:46:08 2015 +0200
@@ -15,7 +15,11 @@
 <% } %> <% if (options.show_node_editor_description) { %>
     <p>
         <label><%-renkan.translate("Description:")%></label>
-        <textarea class="Rk-Edit-Description"><%-node.description%></textarea>
+        <% if (options.show_node_editor_description_richtext) { %>
+            <div class="Rk-Edit-Description" contenteditable="true"><%=node.description%></div>
+        <% } else { %>
+            <textarea class="Rk-Edit-Description"><%=node.description%></textarea>
+        <% } %>
     </p>
 <% } %> <% if (options.show_node_editor_size) { %>
     <p>