How can I change the size of the text in etherpad lite? I can't find any informations in the css-files.
Asked
Active
Viewed 2,487 times
4 Answers
1
You can make your own plugin to do that.
In ep.json, add a client_hook:
{
"parts": [
{
"name": "myPlugin",
"client_hooks": {
"aceEditorCSS": "ep_myPlugin/static/js/ace"
}
}
]
}
In static/js/ace.js, write only that:
exports.aceEditorCSS = function(hook_name, cb) { // inner pad CSS;
return ['ep_myPlugin/static/css/ace.css'];
}
and in static/css/ace.css:
#innerdocbody {
font-size: 14px;
line-height: 18px;
}
You are done !

ManUtopiK
- 4,495
- 3
- 38
- 52
0
You can achieve this either with custom static files or use the ep_font_size plugin, that way the user can change their own font size.

John McLear
- 764
- 1
- 10
- 20
0
It works for me too, but need to restart etherpad-lite server and wipe the browser cache carefully.

Oli
- 1