I want to make it easy for non-technical editors to create something like:
<div class="box">
<div class="wrapper">
<p>Something</p>
</div>
</div>
I created two chunks called "box-header" and "box-footer" so it becomes:
{{box-header}}
<p>Something</p>
{{box-footer}}
The problem is that TinyMCE adds paragraph tags around the chunks when they are added. Although this appears to display OK, I don’t like it.
Sure, I can tell users to set the format field to "format" when the chunks are added, but later editing may cause TinyMCE to add the paragraph tags back in again.
Are there any better solutions or ideas for doing something like this?
thanks, Andy