Problem with my custom plugin
Posted: Wed Dec 11, 2013 3:09 pm
Hi i wrote simple plugin with params containig javascript arrays in arguments. For example:
users="[['Adam'm 25], [John, 23]]" // this is string which plugin parse
I have problem with smarty and TinyMce editor when i put this args arrays in new lines tiny editor adds new lines in html:
{MyPlugin users="[<br/>['Adam'm 25],<br/> [John, 23]]"}
and smarty show me error page
I don't want to clean this html tags in html view.
I think that buttons in editor (clean formating, paste as raw text) do this job but they don't work in wersion 1.11.9
Please help me ...
users="[['Adam'm 25], [John, 23]]" // this is string which plugin parse
I have problem with smarty and TinyMce editor when i put this args arrays in new lines tiny editor adds new lines in html:
{MyPlugin users="[<br/>['Adam'm 25],<br/> [John, 23]]"}
and smarty show me error page

I don't want to clean this html tags in html view.
I think that buttons in editor (clean formating, paste as raw text) do this job but they don't work in wersion 1.11.9
Please help me ...