We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c658bc2 commit c7039a6Copy full SHA for c7039a6
src/setValue.js
@@ -67,7 +67,7 @@ const setValue = (el, value) => {
67
else {
68
if (el.hasAttribute('contenteditable') && el == document.activeElement) return;
69
if (el.tagName === 'DIV') {
70
- if (!el.classList.contains('domEditor') || !el.hasAttribute('get-value') || !el.hasAttribute('get-value-closest'))
+ if (!el.classList.contains('domEditor') && !el.hasAttribute('get-value') && !el.hasAttribute('get-value-closest'))
71
return
72
}
73
0 commit comments