summaryrefslogtreecommitdiff
path: root/addons/pad/static/plugin/ep_disable_init_focus/README.md
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/pad/static/plugin/ep_disable_init_focus/README.md
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/pad/static/plugin/ep_disable_init_focus/README.md')
-rw-r--r--addons/pad/static/plugin/ep_disable_init_focus/README.md28
1 files changed, 28 insertions, 0 deletions
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 00000000..49a904a2
--- /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.