WordPress.org

Ready to get started?Download WordPress

Forums

TinyMCE Advanced
[BUG REPORT] WP 3.5 / PHP 5.2 / 000webhost (4 posts)

  1. mAsT3RpEE
    Member
    Posted 1 year ago #

    Could you please fix named anchors in TinyMCE to use anchors with id instead of name:

    <h2><a name="xxx"></a>Heading</h2>

    to:

    <h2><a id="xxx"></a>Heading</h2>

    or preferably according to current format:

    <h2 id="xxx">Heading</h2>

    It will still remain compatible with tinyMCE with the added benefit of having HTML5 validation.

    http://wordpress.org/extend/plugins/tinymce-advanced/

  2. Andrew Ozz
    WordPress Dev
    Plugin Author

    Posted 1 year ago #

    The problem with HTML anchors is quite old now. In the newer browsers (and newer versions of HTML) there's no need for such thing as anchor. Any id can be used in the url to scroll the page on load. However older versions of IE wouldn't do that. For that reason TinyMCE still supports the ancient anchors.

    In your example the id="xxx" bit can be on the H2 tag, there's no need for the A tag at all.

  3. mAsT3RpEE
    Member
    Posted 1 year ago #

    Yess but the main point i think i need to be clear is:

    1) html5 validation. Yes it does give a small seo boost. I've tested it personally.

    2) Anchor links: http://googleblog.blogspot.com/2009/09/jump-to-information-you-want-right-from.html

    So please consider it.

  4. Andrew Ozz
    WordPress Dev
    Plugin Author

    Posted 12 months ago #

    This has been fixed in TinyMCE 4.0 (the newest version), that will come to WordPress probably in the next release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic