Opened 5 years ago
Closed 4 years ago
#48583 closed defect (bug) (worksforme)
Page Jumps Disappearing when Switching in Between Visual and Code editor
Reported by: | Deon B | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 5.1 |
Component: | Editor | Keywords: | close 2nd-opinion |
Focuses: | Cc: |
Description
Hello,
I am using wordpress 5.1.3 (that's the maximum my host lets me upgrade to - if I try to update to the latest I get an error my php is not enough etc).
When I switch in between visual and code editor (I installed the classic editor plugin), the page jumps disappear and are replaced by:
This is a problem that you have had in all wordpress versions I have used in the past 7 years. I had been told that after 5.0 this problem was going to be fixed but it's not.
Can you guys maybe suggest a workaround, some code, something I could do to make this page jumps work stick there when I keep swapping in between classic and text editor?
Change History (7)
#3
@
5 years ago
Hi,
thank you very much for the reply. I will be testing these and update you with the results.
Thank you
D.
#5
@
4 years ago
- Keywords close 2nd-opinion added
The results with those examples are still the same using WordPress 5.6 (RC1), but are the 7 working options good enough?
@deon-b Thanks for the ticket! I see the same replacement can happen for empty anchor tags in 5.2 and 5.3 as well, but I found workarounds.
So either of these, on its own line (in the text editor), would be replaced by the non-breaking space for an empty paragraph when switching back and forth:
However, any of the options below should retain the ID/name attribute, so then links go directly to that paragraph (or heading).