WordPress.org

Ready to get started?Download WordPress

Forums

HTML->Visual Strips Name tag from IMG Html (2 posts)

  1. Anonymous
    Unregistered
    Posted 6 years ago #

    I have an image that I want some hover code on so I've added a name tag to the image. When I leave the post in html edit mode everything is fine. Post works great when previewed.

    Switch the post to Visual and the code no longer works. If I then switch back to html I can see that the name attribute has been stripped away.

    Does anybody know how to stop this from happening?

    Thanks

  2. Anonymous
    Unregistered
    Posted 6 years ago #

    Looks like it is a TinyMCE error. Do we have any control in WordPress over how TinyMCE cleans up our html? Or what version TinyMCE is in WP2.6?

    Thanks again for all your help.

Topic Closed

This topic has been closed to new replies.

About this Topic