HTML Blobs, Javascript & tiny_mce?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Brit

HTML Blobs, Javascript & tiny_mce?

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: HTML Blobs, Javascript & tiny_mce?

Post 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! :)
Locked

Return to “CMSMS Core”