X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/039f0edb73590283bc38ef5421e670fa40ff2480..7bc06393365fdffe695cef6dd825edf4ce521919:/modules/nodePane/template.html diff --git a/modules/nodePane/template.html b/modules/nodePane/template.html index a40e711..b9a1254 100644 --- a/modules/nodePane/template.html +++ b/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<% } %>><%= option %></option> + <option value="<%= option %>" <% if(option === '') { %>selected<% } %>><%= tagNames[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', 'list.items', 'list.items.enum', 'item', 'uri', 'p', 'footnote', 'todo', 'emp', 'emph.tech'] %> + <% var options = ['', 'author', 'title', 'cite', 'cite.code', 'cite.code.xml', 'list.items', 'list.items.enum', 'item', 'uri', 'p', 'footnote', 'todo', 'emp'] %> <% options.forEach(function(option) { %> - <option value="<%= option.replace(/\./g, '-') %>" <% if(option === '') { %>selected<% } %>><%= option %></option> + <option value="<%= option.replace(/\./g, '-') %>" <% if(option === '') { %>selected<% } %>><%= classNames[option] %></option> <% }); %> </select> </div>