When I close questions, I tend to leave comments as to why. Besides the "most people don't read the close reason" issue, it just helps let everyone else know exactly what I saw and exactly what they can do to have their post re-opened.
With the new "This Post has been deleted" text that shows up when the OP deletes their post, it seriously hurts this workflow. Here's why:
- Close question.
- Type out detailed comment explaining how to get it re-opened.
- OP deletes post.
- Page interrupts my comment typing with this:
The end result is that I'm not able to save the comment, get it back, and refreshing the page causes me to lose the comment.
Feature Request(s):
Don't make the 'this post has been deleted' something that stops all text input, especially since moderators can leave comments on deleted posts.
Save content written in comment boxes to local storage until it's submitted, and fill it back in on page load.
innerHTML
orinnerText
attributes.textarea
values are under the.value
property. Travis is suggesting deleting the "post has been deleted" message from the DOM.