[ADD] pad: new etherpad plugin to remove autofocus
[odoo/odoo.git] / addons / pad / static / plugin / ep_disable_init_focus / README.md
1 Readme
2 ======
3
4 `ep_disable_init_focus` is a very simple
5 [Etherpad-lite](https://github.com/ether/etherpad-lite) plugin, which disable
6 the focus on the pad content after its loading.
7
8 Rationale
9 ---------
10
11 Etherpad-lite autofocus can be annoying to end-users when it is used in Odoo's
12 "pad" widget, because it will override web client focus rules. This plugin is
13 design to get rid of this behavior.
14
15
16 Installation instructions
17 -------------------------
18
19 1. Stop your Etherpad-lite server.
20 2. Copy the `ep_disabl_init_focus` folder into the `node_modules` folder of
21    your Etherpad-lite installation.
22 3. in the folder of your Etherpad-lite installation, run this command to
23    install the plugin:
24
25     ```sh
26     npm install node_modules/ep_disable_init_focus/
27     ```
28 4. Restart the Etherpad-lite server.