mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
added a button to toggle the font
This commit is contained in:
parent
7e4bba0e31
commit
419d2bbd93
3 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue