• Resolved lcorbett

    (@lcorbett)


    I’m editing my content in both html and visual. I have specific formatting in place for my paragraph tags (p:first-letter). When I add an image in the Visual editor, then switch back to HTML, all of my tags are stripped, and the page renders as if I hadn’t formatted my paragraphs. Is anybody else having this problem, and is there a way around this? I have a VERY long page that I’m breaking up into sub-pages (it’s an artist’s site with a tutorial with lots of pics and text).
    http://www.burgettart.com/new/the-process

    Thanks for any insight.
    Lori

Viewing 4 replies - 1 through 4 (of 4 total)
  • Stick to the HTML tab if you’re going to be adding markup to Posts or Pages.

    Thread Starter lcorbett

    (@lcorbett)

    That would be ideal if it were my own site, but I’m building this for a client. I was testing the formatting in both editors because he’s not html savvy. It’s been a vexing problem to have to explain to clients how to correct the paragraph formatting using the html editor. Most have no problem with it, but there are some for whom WYSIWYG is the only alternative. It’s happened on more than one occasion that a client has edited content using the Visual editor (that I had formatted in the html editor), only to have the paragraph formatting disappear because of stripped tags. It would be nice if the WP folks could figure a way to keep the formatting so switching editors isn’t an issue. The problem seems to occur when the html tab is accidentally hit, then the user realizes (s)he’s in the wrong place, goes back to the Visual editor and makes changes…that’s seems to be when the existing paragraph tags are stripped.

    Any other suggestions?
    Thanks again,
    Lori

    The TinyMCE Advanced plugin has been useful to me in giving more button fuctionality in the toolbar. You may have to decide what buttons to display based on your clients needs. Mostly Ive just added the table editing buttons.

    It also has a checkbox option to turn off the stripping of P and BR tags. Until I use this option, I would get the same issues of fixing then hitting save or viewing HTML only to have P or BR stripped even though it was saved and working just earlier.

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

    Thread Starter lcorbett

    (@lcorbett)

    You are a JEWEL! Thank you for that! I know my client will be adding links to the content already in place, and will be using the visual editor to do it. Though I’m giving him a crash course in WP, it shouldn’t have to include XHTML as well (though I AM making him a template of cut and paste mark-up snippets for specific applications).
    Thanks again!
    Lori

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Visual Editor Stripping All My html Formatting’ is closed to new replies.