I use a Chronoforms form to store data in a MySQL table that is used to present html text on specific webpages. I uses textarea fields to type in this html text, that includes {fancybox ...} links like:
Code: |
{fancybox yt="5Ei0ZVjdRwk"}this video{/fancybox}
|
This works fine, of course. But the problem is, that when I want to edit this html text and I retreive the html text from the MySQL table into the textarea of the Chronoforms form, the {fancybox ...} code is parsed into:
Code: |
<a href="http://www.youtube.com/watch?v=5Ei0ZVjdRwk" class=" fb_55acba6b13c5e fancybox.media" data-fancybox-group="gr_55acba6b16416">
|
So, the original {fancybox ...} tags gets lost. Have you got any tip how to prevent the {fancybox ...} tags getting parsed when I put them in a specific textarea again.
I encounter the same problem when I try to edit text in the administration side of the website using the JCE editor. Here also {fancybox ...} tags get parsed when retreived for editing.
Regards.