client/templates/nodeeditor.html
changeset 530 9823b527c3a1
parent 482 a55c33989404
child 600 e12243191095
--- a/client/templates/nodeeditor.html	Wed Sep 16 17:57:47 2015 +0200
+++ b/client/templates/nodeeditor.html	Fri Sep 18 15:36:46 2015 +0200
@@ -4,7 +4,11 @@
 </h2>
 <p>
     <label><%-renkan.translate("Title:")%></label>
-    <input class="Rk-Edit-Title" type="text" value="<%-node.title%>" />
+    <% if (options.show_node_editor_title_richtext) { %>
+        <div class="Rk-Edit-Title" contenteditable="true"><%=node.title%></div>
+    <% } else { %>
+        <input class="Rk-Edit-Title" type="text" value="<%-node.title%>" />
+    <% } %>    
 </p>
 <% if (options.show_node_editor_uri) { %>
     <p>