diff options
author | John McLear <john@mclear.co.uk> | 2015-04-11 21:22:00 +0100 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2015-04-11 21:22:00 +0100 |
commit | 8ed12c77761dfb3158487c39f4fca5eba5d0bab1 (patch) | |
tree | de043126aed7129fbd612eb5cdaecb9f5edec399 /src/node/utils | |
parent | 43687f6e8b35081840f754b28e8971617550ce7d (diff) | |
download | etherpad-lite-8ed12c77761dfb3158487c39f4fca5eba5d0bab1.zip |
session key is now ignored and also padOptions are available in settings
Diffstat (limited to 'src/node/utils')
-rw-r--r-- | src/node/utils/Settings.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/node/utils/Settings.js b/src/node/utils/Settings.js index bd15a2df..3886e645 100644 --- a/src/node/utils/Settings.js +++ b/src/node/utils/Settings.js @@ -85,6 +85,23 @@ exports.dbSettings = { "filename" : path.join(exports.root, "dirty.db") }; exports.defaultPadText = "Welcome to Etherpad!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nEtherpad on Github: http:\/\/j.mp/ep-lite\n"; /** + * The default Pad Settings for a user (Can be overridden by changing the setting + */ +exports.padOptions = { + "noColors": false, + "showControls": true, + "showChat": true, + "showLineNumbers": true, + "useMonospaceFont": false, + "userName": false, + "userColor": false, + "rtl": false, + "alwaysShowChat": false, + "chatAndUsers": false, + "lang": "en-gb" +} + +/** * The toolbar buttons and order. */ exports.toolbar = { |