November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Further to this, I would like it to stop adding <p> tags when ever I add new Dynamic Content Items.
I have page where I might add several dynamic content items one after each other, but each time I add a new one, it creates a <p> tag around it, which then mucks up the CSS layout.
The code snippet here:
http://tech-rash.blogspot.com/2010/09/using-dynamic-content-controls-for.html
Explains how to edit the mark-up before saving to the database. Look at the method that overrides ApplyEditChanges for how to manipulate the mark-up before its saved in the database.
You could also wrap up the content before you display's it with the methods described here
http://world.episerver.com/Blogs/Anders-Hattestad/Dates/2010/8/Preview-on-dynamic-content/
Hi,
Another one from me...
Is it possible to stop TinyMCE automatically wrapping text around <p> tags? It seems to default to the paragraph style, and on certain pages, I don't want to return <p> tags in my mark-up.
Any help most appreciated