X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/efe36f4f1b5df351eeb4d40a54c3900cf9a7079b..58ba604b1c414d5484d8165c38662050809655aa:/src/editor/modules/nodePane/template.html diff --git a/src/editor/modules/nodePane/template.html b/src/editor/modules/nodePane/template.html index b9a1254..663dc38 100644 --- a/src/editor/modules/nodePane/template.html +++ b/src/editor/modules/nodePane/template.html @@ -6,16 +6,16 @@ <select class="rng-module-nodePane-tagSelect"> <% var options = ['', 'section', 'header', 'div', 'span', 'aside']; %> <% options.forEach(function(option) { %> - <option value="<%= option %>" <% if(option === '') { %>selected<% } %>><%= tagNames[option] %></option> + <option value="<%= option %>" <% if(option === '') { %>selected<% } %>><%= utils.getTagLabel(option) %></option> <% }); %> </select> </div> <div> <label>Klasa</label> <select class="rng-module-nodePane-classSelect"> - <% var options = ['', 'author', 'title', 'cite', 'cite.code', 'cite.code.xml', 'list.items', 'list.items.enum', 'item', 'uri', 'p', 'footnote', 'todo', 'emp'] %> + <% var options = ['', 'author', 'title', 'comment', 'cite', 'cite.code', 'cite.code.xml', 'list.items', 'list.items.enum', 'item', 'link', 'p', 'footnote', 'todo', 'emp', 'gap'] %> <% options.forEach(function(option) { %> - <option value="<%= option.replace(/\./g, '-') %>" <% if(option === '') { %>selected<% } %>><%= classNames[option] %></option> + <option value="<%= option.replace(/\./g, '-') %>" <% if(option === '') { %>selected<% } %>><%= utils.getClassLabel(option) %></option> <% }); %> </select> </div>