Viewing 2 replies - 1 through 2 (of 2 total)
  • I believe with the latest version of the TinyMCE editor (ver. 4), if a span has no class, it will automatically get removed. So if you have code that looks like this:<span>Text</span> the span tags will get removed.
    So it needs to look something like this: <span class="text">Text</span>

    Also I noticed the real trick into getting everything to save properly is to make sure the main content editor at the top is always in “Visual” mode when the post/page is updated/saved.

    If the main editor is in “Text” mode when the page/post gets updated, the custom field textareas get messed up and won’t save properly.

    Thread Starter SwordPress

    (@waxmikhail)

    Hmmm, I wasn’t aware of the main content box visual editor issue. That might be what’s happening but I’m almost positive the main content editor always remains in visual mode. I’ll keep that and the empty spans in mind.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changes in Custom Text Fields Will Not Save in HTML Mode’ is closed to new replies.