HTML Blobs, Javascript & tiny_mce?
Posted: Tue Jun 28, 2005 8:17 pm
Hi everyone:
Wishy & all developers - Thank you for such a wonderful CMS. Since I first came across it last summer it's grown by leaps and bounds. It's now very impressive indeed.
I have a question for all of you hotshot coders. I'm using HTML blobs for my javascript, so that the same javascript on different pages can be edited in a single place. It's working fine (no, I'm not going to ask about the {literal} tag
.) My problem is that Tiny MCE inserts a
before my code everytime I edit it. In some browsers, this has an effect on formatting, even though it's in the section of the html.
I could just go in through PHPMyAdmin & edit the data directly in MySQL everytime I wanted to tweak the javascript, but that's a bit of a pain. Does anyone have any advice for keeping Tiny from getting so rambunctious?
A similar thing happens with embedded objects as well (- ie complicated Flash with lots of parameters....)
Thanks,
Brit
Wishy & all developers - Thank you for such a wonderful CMS. Since I first came across it last summer it's grown by leaps and bounds. It's now very impressive indeed.
I have a question for all of you hotshot coders. I'm using HTML blobs for my javascript, so that the same javascript on different pages can be edited in a single place. It's working fine (no, I'm not going to ask about the {literal} tag
before my code everytime I edit it. In some browsers, this has an effect on formatting, even though it's in the section of the html.
I could just go in through PHPMyAdmin & edit the data directly in MySQL everytime I wanted to tweak the javascript, but that's a bit of a pain. Does anyone have any advice for keeping Tiny from getting so rambunctious?
A similar thing happens with embedded objects as well (- ie complicated Flash with lots of parameters....)
Thanks,
Brit