TinyMCE

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
Darren

TinyMCE

Post by Darren »

the TinyMCE has a bug.  It isn't putting in the correct HTML when you click insert.  It puts a img tag where a embed tag should be.  And it puts a spacer.gif where it should be putting a link to SWF file.

I am willing to invest some time to try to fix it for your next release but I was wondering if by any chance you had a text file saying which files did what.  Also if who ever developed it is willing to help me out as I;m fairly sure I knwo what needs to be done but just not sure where to do it.

Thanks.
iNSiPiD

Re: TinyMCE

Post by iNSiPiD »

I use external stylesheets because I also like to have a style.css and a print.css

How can I get TinyMCE to show a specific CSS file in root? Where does it get its content stylesheet from?

I've found this at line 152 in TinyMCE.module.php:

echo 'content_css : "' . $css . "\",\n";

Can I change this to show my file?

I've been right through the documentation and can't find a specific path for use.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: TinyMCE

Post by Ted »

The stylesheet grabbed is the same one that is used when you actually look at the page.  It's a conglomeration of template stylesheets, stylesheet management and module stuff.  svn now supports different stylesheet types, but the standard one is still what I'll push to tinymce by default.

But, to answer your question: Yes, changing line 152 to a hardcoded files SHOULD work.  it just reads regular CSS and parses it accordingly.
platine

Re: TinyMCE

Post by platine »

Hi

I've 2 sites running with 0.10 and got in the editor the behaviour that, when I open the html-view or the insert-image-dialog, then instead of the labels {$lang_theme_code_title} is shown.
How can I fix this?

Thanks
Locked

Return to “CMSMS Core”