Skip to content
Snippets Groups Projects
user avatar
Gorash authored
Under certain unknown conditions, the range cannot be applied and
triggered an error. In order to allow the user to keep editing, we need
to prevent the dialog from showing, hence the use of `console.error`.
If this error appears, the carret is moved to the beginning of the focused
node.
If this error appears, then bullet can generate an error (I managed to
have the bug once or simulate it by manually breaking the dom and range)

closes odoo/odoo#34284

Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
82bf73fe
History
Name Last commit Last update