In the form views where the pads are used, Etherpad-lite automatically focus on the pad content, even if the user has already started to type into another field. This behavior is quite annoying for "quick changes", so we provide a (very tiny) plugin for Etherpad-lite that will prevent this autofocus. Detailed installation instructions are also included.
Readme
ep_disable_init_focus is a very simple
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
-
Stop your Etherpad-lite server.
-
Copy the
ep_disabl_init_focusfolder into thenode_modulesfolder of your Etherpad-lite installation. -
in the folder of your Etherpad-lite installation, run this command to install the plugin:
npm install node_modules/ep_disable_init_focus/ -
Restart the Etherpad-lite server.