WordPress.org

Ready to get started?Download WordPress

Forums

Visual Editor overrides HTML Editor (4 posts)

  1. randygarmon
    Member
    Posted 1 year ago #

    I was pasting some code for a page and discovered that the Visual Editor was adding code not placed there in the HTML Editor. I pasted first in the HTML editor and then previewed in the Visual Editor. I noticed a discrepancy and then went back to the HTML Editor only to find added code.

    The only work-around I found was to paste the code in the HTML editor and NEVER preview in the Visual Editor. I hit Update as soon as the code was pasted into the HTML Editor and then navigated away from the page. All is well as long as I never preview in the Visual Editor.

    For some reason the Visual Editor kept adding <tbody> tags.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Never switch between editing tabs. Pick a tab and stick to it - otherwise you risk any of your markup being totally wrecked by the WYSIWYG editor.

  3. randygarmon
    Member
    Posted 1 year ago #

    esmi, I agree that may be the work around, but a totally unacceptable answer. If the WYSIWYG editor is busted, it should be fixed. No other software would even make it to beta with a bug like that.

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    WordPress uses TinyMCE. Perhaps you can persuade them to fix it? Or you could try installing an editor plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.