Recent Topics

1 Jun 17, 2009 19:20    

I get this when revising text originally created and styled with the GUI editor:

    * Tag <h3> may not have attribute style="..."
    * Tag <p> may not have attribute style="..."
    * Tag <h3> may not have attribute style="..."
    * Tag <p> may not have attribute style="..."
    * Tag <span> may not have attribute style="..."
    * Tag <span> may not have attribute style="..."
    * Tag <h3> may not have attribute style="..."
    * Tag <p> may not have attribute style="..."
    * Invalid content.

If I switch to HTML mode and cut out the style="" attributes, then it will be accepted.

2 Jun 22, 2009 20:46

similar on adding images:



    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Tag <div> is not allowed within tag <p>
    * Invalid content. 

here, cutting out all the div tags at least allows it to be accepted.

3 Jun 23, 2009 00:49

Hi bill_mcgonigle!

On your Users tab click the name of the group you are in. Then select the radio button for "basic ..." on the XHTML validation section. That should let you add divs and so forth.

4 Jun 23, 2009 01:22

EdB wrote:

On your Users tab click the name of the group you are in. Then select the radio button for "basic ..." on the XHTML validation section. That should let you add divs and so forth.

Ah, nice, thanks.

Just to be clear, it's the TinyMCE editor that's adding these style tags. I'd guess most folks would setup a group with the defaults and use TinyMCE.

It looks like it's possible to make TinyMCE emit valid code:
http://www.newmediacampaigns.com/page/how-to-produce-xhtml-10-strict-markup-with-tinymce

Ugly and painful, but possible.


Form is loading...