From 39f891f942d26b4048bf5f4e32fc235b33f36b26 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= <aleksander.lukasz@nowoczesnapolska.org.pl> Date: Tue, 28 Jan 2014 12:32:04 +0100 Subject: [PATCH] editor: adding gap class to ui --- src/editor/modules/documentToolbar/template.html | 2 +- src/editor/modules/nodePane/template.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editor/modules/documentToolbar/template.html b/src/editor/modules/documentToolbar/template.html index f0a3682..edfa25c 100644 --- a/src/editor/modules/documentToolbar/template.html +++ b/src/editor/modules/documentToolbar/template.html @@ -11,7 +11,7 @@ <% }); %> </select> <select class="rng-module-documentToolbar-toolbarOption" data-option="newTag-class"> - <% var options = ['', 'author', 'title', 'cite', 'cite.code', 'cite.code.xml', 'list.items', 'item', 'link', 'p', 'footnote', 'todo', 'emp'] %> + <% var options = ['', 'author', 'title', 'cite', 'cite.code', 'cite.code.xml', 'list.items', 'item', 'link', 'p', 'footnote', 'todo', 'emp', 'gap'] %> <% options.forEach(function(option) { %> <option value="<%= option.replace(/\./g, '-') %>" <% if(option==='cite') { %>selected<% } %>><%= wlxmlUtils.getClassLabel(option) %></option> <% }); %> diff --git a/src/editor/modules/nodePane/template.html b/src/editor/modules/nodePane/template.html index 40db3ea..663dc38 100644 --- a/src/editor/modules/nodePane/template.html +++ b/src/editor/modules/nodePane/template.html @@ -13,7 +13,7 @@ <div> <label>Klasa</label> <select class="rng-module-nodePane-classSelect"> - <% var options = ['', 'author', 'title', 'comment', 'cite', 'cite.code', 'cite.code.xml', 'list.items', 'list.items.enum', 'item', 'link', '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<% } %>><%= utils.getClassLabel(option) %></option> <% }); %> -- 2.20.1