Etherpad Lite, how to change the font size

How to resize text in etherpad lite? I can not find information in css files.

+4
source share
4 answers

I am sure you can achieve this by editing custom static files .

+1
source

You can make your own plugin for this.

In ep.json add client_hook:

{ "parts": [ { "name": "myPlugin", "client_hooks": { "aceEditorCSS": "ep_myPlugin/static/js/ace" } } ] } 

In static / js / ace.js write only:

 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!

+1
source

You can achieve this either with custom static files or with the ep_font_size plugin so that the user can change their own font size.

0
source

It also works for me, but you need to restart the etherpad-lite server and carefully clear your browser cache.

0
source

Source: https://habr.com/ru/post/1446256/


All Articles