[wp-trac] [WordPress Trac] #28305: Visual Editor Anchor Button Behavior
WordPress Trac
noreply at wordpress.org
Mon May 19 19:52:32 UTC 2014
#28305: Visual Editor Anchor Button Behavior
--------------------------+------------------------------
Reporter: josh401 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 3.9.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by azaozz):
> You could place an anchor directly before the heading (or whatever you
use to separate the page elements).
Right. It doesn't make any difference if any text is wrapped in the link
or not. The browsers don't render it as a link as there's no `href`
attribute. The "original" HTML anchors were always empty, they only mark
the spot the page is scrolled to. Then from HTML 4 any element with an ID
can be used as anchor.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28305#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list