X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=addons%2Fpad%2Fstatic%2Fplugin%2Fep_disable_init_focus%2FREADME.md;fp=addons%2Fpad%2Fstatic%2Fplugin%2Fep_disable_init_focus%2FREADME.md;h=49a904a21001f65af58a9a9aa39633b6d0aec712;hb=c15f748be05b3709f5e16680569abdc2949468e2;hp=0000000000000000000000000000000000000000;hpb=1dbf153eb51303c4186ca5e2dacd729aadd95f28;p=odoo%2Fodoo.git diff --git a/addons/pad/static/plugin/ep_disable_init_focus/README.md b/addons/pad/static/plugin/ep_disable_init_focus/README.md new file mode 100644 index 0000000..49a904a --- /dev/null +++ b/addons/pad/static/plugin/ep_disable_init_focus/README.md @@ -0,0 +1,28 @@ +Readme +====== + +`ep_disable_init_focus` is a very simple +[Etherpad-lite](https://github.com/ether/etherpad-lite) plugin, which disable +the focus on the pad content after its loading. + +Rationale +--------- + +Etherpad-lite autofocus can be annoying to end-users when it is used in Odoo's +"pad" widget, because it will override web client focus rules. This plugin is +design to get rid of this behavior. + + +Installation instructions +------------------------- + +1. Stop your Etherpad-lite server. +2. Copy the `ep_disabl_init_focus` folder into the `node_modules` folder of + your Etherpad-lite installation. +3. in the folder of your Etherpad-lite installation, run this command to + install the plugin: + + ```sh + npm install node_modules/ep_disable_init_focus/ + ``` +4. Restart the Etherpad-lite server.