diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-10-24 16:14:52 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-10-24 16:14:52 +0200 |
| commit | 58525e29d87b4a7d334dc07db52eba9af5ca8cdf (patch) | |
| tree | a319191e9f04ca6f575a3431502d99422f6f085d /addons/web_editor/static/src/js/editor/rte.js | |
| parent | 7c45f22ceac8246f627f62ed38df020b96d9a0a6 (diff) | |
| parent | bff43f0aa14aa6537d44a54419221e05d5ae7131 (diff) | |
[MERGE] forward port branch saas-15 up to bff43f0aa14
Diffstat (limited to 'addons/web_editor/static/src/js/editor/rte.js')
| -rw-r--r-- | addons/web_editor/static/src/js/editor/rte.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/js/editor/rte.js b/addons/web_editor/static/src/js/editor/rte.js index 341b42f93c6..90062a02b02 100644 --- a/addons/web_editor/static/src/js/editor/rte.js +++ b/addons/web_editor/static/src/js/editor/rte.js @@ -591,6 +591,14 @@ var RTEWidget = Widget.extend({ return; } + // Removes strange _moz_abspos attribute when it appears. Cannot + // find another solution which works in all cases. A grabber still + // appears at the same time which I did not manage to remove. + // TODO find a complete and better solution + _.defer(function () { + $editable.find('[_moz_abspos]').removeAttr('_moz_abspos'); + }); + if ($target.is('a')) { /** * Remove content editable everywhere and add it on the link only so that characters can be added |
