I am building a site in Joomla with K2 and I have some requirements for some of the content to be styled a certain way.
For example the following mark-up needs to be flexible enough so that someone with NO HTML skills can edit this and add a new image/caption.
So as you can see from the mark up, there is an image with a paragraph tag in a wrapper column.
I am using JCE as the WSIWYG plug in editor and I am finding it to be doing really strange things with the code when I try and add another image/caption. Adding a new paragraph outside of the container, deleting closing div tags etc etc and messing up the layout.
Any ideas on how to tackle this? Is there another way to allow non HTML savvy users to edit content successfully?
<img border="0" title="" alt="" src="image_1.jpg">
<p class="image_caption">Image 1</p>
<img border="0" title="" alt="" src="image_2.jpg">
<p class="image_caption">Image 2</p>