mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-10 00:45:01 -04:00
Making the formatting toolbar easier to build.
This commit is contained in:
parent
ebf1bba0eb
commit
550abd5129
3 changed files with 109 additions and 60 deletions
11
available_plugins/ep_formatting/templates/button.ejs
Normal file
11
available_plugins/ep_formatting/templates/button.ejs
Normal file
|
@ -0,0 +1,11 @@
|
|||
<%
|
||||
var groupClass = ""
|
||||
if (groupPosition !== undefined) {
|
||||
groupClass = "grouped-" + groupPosition;
|
||||
}
|
||||
%>
|
||||
<li class="acl-write" id="<%= button.id %>" data-key="<%= button.key %>">
|
||||
<a class="<%= groupClass %>" title="<%= button.title %>">
|
||||
<span class="buttonicon <%= button.cssClass %>"></span>
|
||||
</a>
|
||||
</li>
|
Loading…
Add table
Add a link
Reference in a new issue