mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-04 14:19:13 -04:00
Merge commit '419d2bb
' into monospace
This commit is contained in:
commit
66a9798615
3 changed files with 10 additions and 0 deletions
Binary file not shown.
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.7 KiB |
|
@ -122,6 +122,10 @@ var padeditbar = (function()
|
|||
else if (cmd == 'save')
|
||||
{
|
||||
padsavedrevs.saveNow();
|
||||
}
|
||||
else if (cmd == 'tglfont')
|
||||
{
|
||||
pad.changeViewOption('useMonospaceFont', !(pad.padOptions.view&&pad.padOptions.view.useMonospaceFont));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -76,6 +76,12 @@
|
|||
<div class="buttonicon" style="background-position:0px -86px"></div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="separator"></li>
|
||||
<li onClick="window.pad&&pad.editbarClick('tglfont');return false;" >
|
||||
<a id="monospace" title="toggle the font between monospace and normal">
|
||||
<div class="buttonicon" style="background-position:0px -436px"></div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul id="menu_right">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue