-<div class="rng-module-documentToolbar">\r
- <div class="rng-module-documentToolbar-toolbarGroup">\r
- <button data-btn="new-node" data-meta="header/" data-btn-type="cmd" class="btn btn-mini">header</button>\r
- <button data-btn="new-node" data-meta="div/p" data-btn-type="cmd" class="btn btn-mini">div/p</button>\r
- <button data-btn="new-node" data-meta="span/cite" data-btn-type="cmd" class="btn btn-mini">span/cite</i></button>\r
- <button data-btn="new-node" data-meta="span/uri" data-btn-type="cmd" class="btn btn-mini">span/uri</i></button>\r
- <select class="rng-module-documentToolbar-toolbarOption" data-option="newTag-tag">\r
- <% var options = ['', 'section', 'header', 'div', 'span', 'aside']; %>\r
- <% options.forEach(function(option) { %>\r
- <option value="<%= option %>" <% if(option==='span') { %>selected<% } %>><%= option %></option>\r
- <% }); %>\r
- </select>\r
- <select class="rng-module-documentToolbar-toolbarOption" data-option="newTag-class">\r
- <% var options = ['', 'author', 'title', 'cite', 'cite.code', 'cite.code.xml', 'list', 'list.items', 'item', 'uri', 'p', 'footnote', 'todo', 'emp', 'emph.tech'] %>\r
- <% options.forEach(function(option) { %>\r
- <option value="<%= option.replace(/\./g, '-') %>" <% if(option==='cite') { %>selected<% } %>><%= option %></option>\r
- <% }); %>\r
- </select>\r
- <button data-btn="new-node" data-btn-type="cmd" class="btn btn-mini"><i class="icon-plus"></i></button>\r
- </div>\r
- <div class="rng-module-documentToolbar-toolbarGroup">\r
- <button data-btn="grid" data-btn-type="toggle" class="btn btn-mini"><i class="icon-th-large"></i></button>\r
- <button data-btn="tags" data-btn-type="toggle" class="btn btn-mini"><i class="icon-tag"></i></button>\r
- </div>\r
- <div class="rng-module-documentToolbar-toolbarGroup">\r
- <button data-btn="createList" data-btn-type="cmd" data-meta="bullets" class="btn btn-mini"><i class="icon-list"></i></button>\r
- <button data-btn="createList" data-btn-type="cmd" data-meta="enum" class="btn btn-mini"><i class="icon-th-list"></i></button>\r
- </div>\r
- <div style="clear: both;"></div>\r
+<div class="rng-module-documentToolbar">
+ <div class="rng-module-documentToolbar-toolbarGroup">
+ <button data-name="new-node" data-meta="header/" data-btn-type="cmd" class="btn btn-mini">nagłówek</button>
+ <button data-name="new-node" data-meta="div/p" data-btn-type="cmd" class="btn btn-mini">paragraf</button>
+ <button data-name="new-node" data-meta="span/cite" data-btn-type="cmd" class="btn btn-mini">cytat</i></button>
+ <button data-name="new-node" data-meta="span/uri" data-btn-type="cmd" class="btn btn-mini">uri</i></button>
+ <select class="rng-module-documentToolbar-toolbarOption" data-option="newTag-tag">
+ <% var options = ['', 'section', 'header', 'div', 'span', 'aside']; %>
+ <% options.forEach(function(option) { %>
+ <option value="<%= option %>" <% if(option==='span') { %>selected<% } %>><%= tagNames[option] %></option>
+ <% }); %>
+ </select>
+ <select class="rng-module-documentToolbar-toolbarOption" data-option="newTag-class">
+ <% var options = ['', 'author', 'title', 'cite', 'cite.code', 'cite.code.xml', 'list.items', 'item', 'uri', 'p', 'footnote', 'todo', 'emp'] %>
+ <% options.forEach(function(option) { %>
+ <option value="<%= option.replace(/\./g, '-') %>" <% if(option==='cite') { %>selected<% } %>><%= classNames[option] %></option>
+ <% }); %>
+ </select>
+ <button data-name="new-node" data-btn-type="cmd" class="btn btn-mini"><i class="icon-plus"></i></button>
+ </div>
+ <div class="rng-module-documentToolbar-toolbarGroup">
+ <button data-name="take-away-node" data-btn-type="cmd" class="btn btn-mini"><i class="icon-remove-circle"></i></button>
+ </div>
+ <div class="rng-module-documentToolbar-toolbarGroup">
+ <button data-name="list" data-btn-type="cmd" data-meta="bullets" class="btn btn-mini"><i class="icon-list"></i></button>
+ <button data-name="unwrap-node" data-btn-type="cmd" class="btn btn-mini"><i class="icon-arrow-up"></i></button>
+ <button data-name="wrap-node" data-btn-type="cmd" class="btn btn-mini"><i class="icon-arrow-down"></i></button>
+ </div>
+ <div class="rng-module-documentToolbar-toolbarGroup">
+ <button data-name="footnote" data-btn-type="cmd" class="btn btn-mini"><i class="icon-comment"></i></button>
+ </div>
+ <div class="rng-module-documentToolbar-toolbarGroup">
+ <button data-name="grid" data-btn-type="toggle" class="btn btn-mini"><i class="icon-th-large"></i></button>
+ </div>
+
+ <div style="clear: both;"></div>