mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-04 22:27:10 -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')
|
else if (cmd == 'save')
|
||||||
{
|
{
|
||||||
padsavedrevs.saveNow();
|
padsavedrevs.saveNow();
|
||||||
|
}
|
||||||
|
else if (cmd == 'tglfont')
|
||||||
|
{
|
||||||
|
pad.changeViewOption('useMonospaceFont', !(pad.padOptions.view&&pad.padOptions.view.useMonospaceFont));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -76,6 +76,12 @@
|
||||||
<div class="buttonicon" style="background-position:0px -86px"></div>
|
<div class="buttonicon" style="background-position:0px -86px"></div>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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>
|
||||||
|
|
||||||
<ul id="menu_right">
|
<ul id="menu_right">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue