Focus should return to main editor after posting a comment
The editors and copyeditor would like the main content editor to reactivate after leaving a comment, rather than a reply comment text field appearing. The current behavior was unexpected and confusing to them.
To replicate:
- Select some text and post a new comment, or click annotated text and post a reply comment
- Type in a comment, then save it, either by clicking the icon or by hitting enter
Actual: The comment posts, a field to enter a reply comment appears below it, and the active cursor appears in the reply comment field.
Desired: editors would prefer the main editor to reactivate after posting a comment, in its previous state:
- If the user had selected text and then left a comment, the main editor should reactivate with their previous selection still selected
- If the user had a blinking cursor, they should get the cursor back in the same place. This is what usually happens when - and is only possible if - a user replies to a previous comment (click somewhere inside some annotated text, comment thread expands, leave a reply comment).