X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/039f0edb73590283bc38ef5421e670fa40ff2480..0d8a1471088aa3fa1f09b2172cf28f98c1e01362:/modules/nodePane/template.html?ds=inline 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>