Description
In Firefox, I am getting the following warning: "Use of attributes' nodeValue attribute is deprecated. Use value instead." This is coming from line 6929 in dist/js/medium-editor.js. By changing atts[i].nodeValue to atts[i].value the warning goes away as well as the bug this caused in the project (Firefox only).
Steps to reproduce
Run medium editor in a textarea in Firefox. I do not see the warning in the medium editor demos. My project has two textareas with the editable class (see simplified codepen below).
Expected behavior:
No warnings in the console and subsequent bugs in Firefox.
Actual behavior:
Warning (above) in Firefox's console and bugs caused by the warning.
Link to an example:
https://codepen.io/nmcinteer/pen/aLbLjX
Versions
- medium-editor: 5.23.1
- browser: Firefox
- OS: Windows 7
Description
In Firefox, I am getting the following warning: "Use of attributes' nodeValue attribute is deprecated. Use value instead." This is coming from line 6929 in dist/js/medium-editor.js. By changing
atts[i].nodeValuetoatts[i].valuethe warning goes away as well as the bug this caused in the project (Firefox only).Steps to reproduce
Run medium editor in a textarea in Firefox. I do not see the warning in the medium editor demos. My project has two textareas with the
editableclass (see simplified codepen below).Expected behavior:
No warnings in the console and subsequent bugs in Firefox.
Actual behavior:
Warning (above) in Firefox's console and bugs caused by the warning.
Link to an example:
https://codepen.io/nmcinteer/pen/aLbLjX
Versions