mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-14 11:06:55 -04:00
Merge f09ecf0b10
into 344e8be328
This commit is contained in:
commit
3eba1cd1a0
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,9 @@ var padeditor = (function()
|
|||
self.ace.setProperty("showsauthorcolors", !settings.noColors);
|
||||
|
||||
v = getOption('useMonospaceFont', false);
|
||||
self.ace.setProperty("textface", (v ? "monospace" : "Arial, sans-serif"));
|
||||
// use Ayuthaya font on MacOS Family, Consolas on Windows Family and Monospace on Linux Family
|
||||
// for better readability of font
|
||||
self.ace.setProperty("textface", (v ? "Ayuthaya, Consolas, monospace" : "Arial, sans-serif"));
|
||||
$("#viewfontmenu").val(v ? "monospace" : "normal");
|
||||
},
|
||||
dispose: function()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue