Page 1 of 1

HTML Blobs, Javascript & tiny_mce?

Posted: Tue Jun 28, 2005 8:17 pm
by Brit
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

Re: HTML Blobs, Javascript & tiny_mce?

Posted: Tue Jun 28, 2005 8:56 pm
by Ted
Do you have end users, or is it just yourself?  If it's just yourself, maybe you should turn off the WYSIWYG.  Except for that, I really try not to get too heavy into the internals of TinyMCE, besides making sure it doesn't screw up the {} tags.

Thanks for the kind words! :)