WordPress.org

Ready to get started?Download WordPress

Forums

Element Cleanup in HTML Editor (5 posts)

  1. MathTeacher
    Member
    Posted 1 year ago #

    Hi - I am competent with editing HTML code and have always used the comment feature to control which elements of my website are live at a given time.

    I recently switched to using WordPress and have noticed that the editor goes nuts when I insert a comment tag. Not only does it edit the other tags nearby - adding extra tags where they aren't needed. (example: when I comment out a single list item, it adds multiple open and close UL tags surrounding that area.) Also it seems that more than necessary (several other lines are just NOT there when I load the page) actually gets commented even though I have triple checked my code.

    In searching the support forums it seems that WordPress employs some sort of "element cleanup" I assume as a way to "idiot proof" their editor. Unfortunately it is wreaking havoc on my site. All of the support entries regarding this are 1+ years old and seem to reference editing a format file that I can't find and assume has been relocated in the WordPress interface.

    Any suggestions for how I can make the editor not "fix" my HTML coding?
    Thanks in advance.

  2. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

    The editor comes from http://www.tinymce.com/

    There are several plugins that might help you. Just do a search for editor.

  3. MathTeacher
    Member
    Posted 1 year ago #

    Thanks for the quick post.

    I'm sorry - do you mean that I should activate that plug in and it will let me edit the HTML normally? (AKA not "fixing" it for me)

  4. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

    I'm sorry - do you mean that I should activate that plug in and it will let me edit normally?

    No. I was just pointing out that the editor in WordPress is not from wp. It is from tinymce.

    http://wordpress.org/extend/plugins/search.php?q=editor lists plugins that might work. You will have to read about the plugin to see if it can help you.

  5. MathTeacher
    Member
    Posted 1 year ago #

    OH thank you

Topic Closed

This topic has been closed to new replies.

About this Topic