Forum
Add a class to the attached code.
Hi,
How do I add a class in the below mentioned code.
<perch:content id="Page-title" type="textarea" label="Page title " textile="true" editor="markitup"/>
Hi,
How do I add a class in the below mentioned code.
<perch:content id="Page-title" type="textarea" label="Page title " textile="true" editor="markitup"/>
A textarea with Textile formatting can output all sorts of HTML - what are you hoping to attach a class to?
You might be best to look at adding a class to the containing element.
Hi Drew,
<perch:content id="Page-title" type="textarea" label="Page title " textile="true" editor="markitup" class="classname"/>
I'm working it this way but it does not attaches the class in this format?
What are you hoping to attach a class to?