/home/MyUserName/etherpad-lite/var/dirty.db を tmp に移し、ウェルカム文を非表示にし、メニューを日本語化すべく、
/home/MyUserName/etherpad-lite/settings.json.template を Pluma で開き該当箇所を編集。
//the database specific settings
"dbSettings" : {
"filename" : "/tmp/dirty.db"
}, //the default text of a pad
/* "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\nGet involved with Etherpad at http:\/\/etherpad.org\n",
*/exports.padOptions = {
"noColors": false,
"showControls": true,
"showChat": true,
"showLineNumbers": true,
"useMonospaceFont": false,
"userName": false,
"userColor": false,
"rtl": false,
"alwaysShowChat": false,
"chatAndUsers": false,
"lang": "ja"
}
/home/MyUserName/etherpad-lite/var に保存される minified_**** を tmp に移すべく、
/home/MyUserName/etherpad-lite/node_modules/ep_etherpad-lite/node/utils/caching_middleware.js を Pluma で開き該当箇所を編集。
var CACHE_DIR = '/tmp/';
DirtyDB の警告を非表示にすべく、
/home/MyUserName/etherpad-lite/node_modules/ep_etherpad-lite/node/utils/Settings.js を Pluma で開き該当箇所をコメントアウト。
/* if(exports.dbType === "dirty"){
var dirtyWarning = "DirtyDB is used. This is fine for testing but not recommended for production.";
if(!exports.suppressErrorsInPadText){
exports.defaultPadText = exports.defaultPadText + "\nWarning: " + dirtyWarning + suppressDisableMsg;
}
console.warn(dirtyWarning);
}*/
HTML で保存する際に、ヘッダとフッタを除き、改行を実体参照にして、紀永で読み込めるようにすべく、
/home/MyUserName/etherpad-lite/src/node/utils/ExportHtml.js を Pluma で開き該当箇所を置換&編集。任意。
検索する文字列(S): <br>
置換後の文字列(W):
callback(null, html);