pad.pub0.org/doc
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
..
api docs: "```js" -> "```json" in Markdown of some json blocks 2018-08-09 22:27:56 +02:00
assets Polish the styles of our docs a little 2014-03-27 18:08:55 +01:00
easysync Typos and minor fixes in bin, doc, and root 2017-09-14 13:33:27 +02:00
database.md Spelling fixes 2017-03-11 21:36:37 -05:00
documentation.md Typos and minor fixes in bin, doc, and root 2017-09-14 13:33:27 +02:00
index.md skins: describe the skins in the documentation 2018-08-26 21:17:04 +02:00
localization.md Typos and minor fixes in bin, doc, and root 2017-09-14 13:33:27 +02:00
plugins.md pad.html: for each client plugin, add a class to #editorcontainerbox 2018-10-02 21:22:13 +02:00
skins.md skins: describe the skins in the documentation 2018-08-26 21:17:04 +02:00
stats.md docs: direct link to measured.Collection from stats.md 2018-08-14 13:27:31 +02:00
template.html ‘Etherpad Lite’ -> ‘Etherpad’ 2013-09-29 13:57:37 +02:00