summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/base.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-01-23 16:16:20 +0100
committerqsm-odoo <qsm@odoo.com>2018-01-25 12:44:36 +0100
commit2fad2e43b855e728f0534012012ec3720035768c (patch)
tree979d0051641b61120bea60e211918b50f87ab9f0 /addons/web_editor/static/src/js/base.js
parent78a556601e6b1e72c6d1ac776e31588dd2ffa28f (diff)
[FIX] web_editor: solve all triple-click issues
... hopefully. This *must* be forward-ported. Depending on the browser, the triple-click behavior is different. This is especially problematic on Chrome, where blank characters at the start of the neighbor of the clicked element are selected. A weak attempt to solve that was made by commit https://github.com/odoo/odoo/commit/b85bd358234684974f9af63bc5f28cfabb527767 This commit hopes to solve all the issues once and for all by fully reimplementing the triple-click for all browsers. The concept is simple: when a triple-click occurs, select the whole *inner* content of the deepest DOM *element* that was clicked.
Diffstat (limited to 'addons/web_editor/static/src/js/base.js')
0 files changed, 0 insertions, 0 deletions