Turn off attribute stripping?

Permalink 2 users found helpful
I have a span. I want to 'name' it and 'class' it. I edit the HTML and put

<span name='Nameo' class='Classo'>...</span>

I save it and re-edit it. I see

<span class='Classo'>...</span>

Where's my 'name' gone? Is there any way I can tell Concrete5 to leave my name alone?

 
tomreitz replied on at Permalink Reply
tomreitz
It's being removed because "name" is not a valid HTML attribute for <span>s (seehttp://www.w3.org/TR/REC-html40/index/attributes.html).... TinyMCE, the WYSIWYG editor C5 uses, validates HTML by default. You may be able to turn this off by setting Dashboard -> Sitewide Settings -> General -> Rich Text Editor to Custom and specifying
verify_html: false

or just use "id" instead...