[FIX] web_editor: fix placeholders for multi editor

Fix placeholder not working properly when multiple editor exists

task-2637488

Part-of: odoo/odoo#83792
This commit is contained in:
Sébastien Geelen (sge)
2022-02-02 09:03:43 +00:00
parent 60643090d3
commit c61150eb16
@@ -2320,7 +2320,7 @@ export class OdooEditor extends EventTarget {
clean() {
this.observerUnactive();
for (const hint of this.document.querySelectorAll('.oe-hint')) {
for (const hint of this.editable.querySelectorAll('.oe-hint')) {
hint.classList.remove('oe-hint', 'oe-command-temporary-hint');
hint.removeAttribute('placeholder');
}