[wp-trac] [WordPress Trac] #26332: TinyMCE stripping <a id="abc"></a> on empty line
WordPress Trac
noreply at wordpress.org
Mon Jul 1 08:40:31 UTC 2019
#26332: TinyMCE stripping <a id="abc"></a> on empty line
----------------------------+---------------------
Reporter: Ipstenu | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: TinyMCE | Version: 3.2
Severity: normal | Resolution: fixed
Keywords: upstream close | Focuses:
----------------------------+---------------------
Changes (by azaozz):
* status: new => closed
* resolution: => fixed
Comment:
Re-tested this in WP 5.2 and it seems to be working properly. Explicit
anchors like `<a name="foo"></a>` are kept regardless of where they are in
the HTML. Elements that are considered "empty" are removed on cleanup.
Adding anchors like:
{{{
<h3>Section title<a id="abc"></a></h3>
}}}
works properly.
This also works well in the block editor. Considering this ticket "fixed".
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26332#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list