2 more buttons supported for exmaple

toolbarItemsInSettings
John McLear 2014-03-16 04:03:00 +00:00
parent 11f7640fc7
commit 8ed03c83c7
1 changed files with 4 additions and 0 deletions

View File

@ -63,16 +63,20 @@
</a> </a>
</li> </li>
<% } %> <% } %>
<% if(settings.toolbarItems.indexOf("italic") !== -1){ %>
<li class="acl-write" id="italic" data-key="italic"> <li class="acl-write" id="italic" data-key="italic">
<a class="grouped-middle" data-l10n-id="pad.toolbar.italic.title"> <a class="grouped-middle" data-l10n-id="pad.toolbar.italic.title">
<span class="buttonicon buttonicon-italic"></span> <span class="buttonicon buttonicon-italic"></span>
</a> </a>
</li> </li>
<% } %>
<% if(settings.toolbarItems.indexOf("underline") !== -1){ %>
<li class="acl-write" id="underline" data-key="underline"> <li class="acl-write" id="underline" data-key="underline">
<a class="grouped-middle" data-l10n-id="pad.toolbar.underline.title"> <a class="grouped-middle" data-l10n-id="pad.toolbar.underline.title">
<span class="buttonicon buttonicon-underline"></span> <span class="buttonicon buttonicon-underline"></span>
</a> </a>
</li> </li>
<% } %>
<li class="acl-write" id="strikethrough" data-key="strikethrough"> <li class="acl-write" id="strikethrough" data-key="strikethrough">
<a class="grouped-right" data-l10n-id="pad.toolbar.strikethrough.title"> <a class="grouped-right" data-l10n-id="pad.toolbar.strikethrough.title">
<span class="buttonicon buttonicon-strikethrough"></span> <span class="buttonicon buttonicon-strikethrough"></span>