Commits

Luke Plant committed ca7c40a

Display element tag in structure overview, for clarity

  • Participants
  • Parent commits 03b08a7

Comments (0)

Files changed (1)

File semanticeditor/media/semanticeditor/javascript/wymeditor/plugins/semantic/wymeditor.semantic.js

 		    // item[0] is the heading level,
 		    // item[1] is the heading name
 		    var spaces = (new Array((item[0]-1)*2)).join(" ");
-		    self.headingscontrol.append("<option value='" + i.toString() + "'>" + spaces + escapeHtml(item[1]) + "</option>");
+		    self.headingscontrol.append("<option value='" + i.toString() + "'>" + spaces + item[2].toUpperCase() + ": " + escapeHtml(item[1]) + "</option>");
     });
 };