etherpad-lite/src/static
muxator 23eab79946 pad.html: for each client plugin, add a class to #editorcontainerbox
This commit implements the following behaviour:

1. adds a function clientPluginNames() to hooks.js (mimicking what is done in
   static.js), which returns an array containing the list of currently installed
   client side plugins. The array is eventually empty.

2. calls that function in pad.html at rendering time (thus server-side) to
   populate a class attribute.

Example results:
- with no client-side plugins installed:
  <div id="editorcontainerbox" class="">

- with some client-side plugins installed:
  <div id="editorcontainerbox" class="ep_author_neat ep_adminpads">

Looking at the existing code (src/node/hooks/express/static.js#L39-L57), a
client-side plugin is defined as a plugin that implements at least a client side
hook.

NOTE: there is currently no support for notifying plugin removal/installation
      to the connected clients: for now, in order to get an updated class list,
      the clients will have to refresh the page.

Fixes #3488
2018-10-02 21:22:13 +02:00
..
css fix: line numbers was not aligned with text 2018-04-13 18:32:39 +02:00
font Added support for the Montserrat Font as discussed in #3201 (#3205) 2017-07-12 12:21:48 -03:00
js pad.html: for each client plugin, add a class to #editorcontainerbox 2018-10-02 21:22:13 +02:00
skins/no-skin skins: moved "static/custom" -> "static/skins/no-skin" 2018-08-26 21:17:04 +02:00
favicon.ico Add new favicon (32x32) with associated svg file 2015-01-11 22:40:56 +01:00
robots.txt The Big Renaming - etherpad is now an NPM module 2012-02-26 13:07:51 +01:00
tests.html make /static/tests.html functional again, 2012-07-07 20:41:26 +02:00