#24047 closed enhancement (wontfix)
Line numbers in post editor text mode?
Reported by: | dgwyer | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
I would love to see line numbers in the post editor when in text mode. This and/or the cursor returning to the editing point when updating a post.
It can be very annoying that the cursor always returns to the top of the editor when a manual update is initiated. Making a lot of small edits in various parts of a longish post can be really tedious.
Change History (7)
#2
follow-up:
↓ 4
@
7 years ago
It's pretty standard to use line numbers when editing HTML in IDE's. I find it off-putting to edit HTML code in the post editor where there are no line numbers. I keep losing my place when editing a long post.
Re the cursor issue, this should definitely be in core not just in a Plugin. I don't want to have to install a Plugin to retain my cursor position after manual updates!
#3
@
7 years ago
I don't see the need of line numbers in WordPress. The use case seems not that bug.
However I do think there is a place in core for keeping the scroll position.
#6
@
5 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
- Version 3.5.1 deleted
I also think that we shouldn't add line numbers.
Not sure if the scroll position is still relevant... The editor automatically expands and you have to scroll to get to the publish box. The post will be auto-saved at regular intervals, so no need to save all the time. #22412 might also be a better solution.
Why do you need line numbers?
To save the scroll position you can use this plugin.