Files
odoo_source/addons/web_editor
Younn Olivier e2e65790a5 [FIX] web_editor: fix nearest dropzone when moving a snippet
Before this commit, when a snippet was moved, and dropped outside of a
dropzone, the nearest dropzone was not found and the snippet would
return to its initial position.

This commit fixes it by using the editable document instead of the
global one.

Related to https://github.com/odoo/odoo/commit/31cc10b91dc7762e23b4bde9b945be0c4ce3fe3b

task-2687506

closes odoo/odoo#96401

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-08-08 12:32:52 +02:00
..
…