Hi,
If you have a tinymce config parameter such as
{relative_urls false}
It gets converted to javascript
relative_urls:"false"
insted of
relative_urls:false
causing all kinds of unexpected behavior.
true works as a string or boolean due to any string evaluating to true if checked like this:
if (foo) { ... }
return true always for "a string".
I added a check for parameter values of true or false and I add them to the javascript tinymce config without surrounding quotes.
Does this sounds like a good fix?
Thanks
Dave