Vue markdown fields leave `.dz-hidden-input` in DOM
From #205408 (comment 298684000)
When we click inside a Vue textarea (either new comment or editing existing), we create a new .dz-hidden-input
. When we Confirm/Cancel we don't remove the .dz-hidden-input
element.
To reproduce:
- (in console) run
document.querySelectorAll('.dz-hidden-input').length
- probably prints1
- Click in a comment area (either reply or Add comment)
- Rerun command from step 1, now prints 2
- Click outside the textarea (cancel comment) then back in, now there are 3!