Hi

I have created one site using drupal5.7 and configured tinymce . But when I try to edit my page content, in the styles drop down button shows some other styles other than my css. I have selected 'css' in Tinymce configuration settings and select editor css as 'define css' and in css path I put /themes/pgcc/style.css. My site name is http://drupaltestsite.comeleonwebtest.info and I want to select the css which I stored in http://drupaltestsite.comeleonwebtest.info/themes/pgcc/style.css. I tried css path with insert quotes ("/themes/pgcc/styles.css") and with full path (http://drupaltestsite.comeleonwebtest.info/themes/pgcc/style.css) . But I couldn't get my styles in the dropdown list. How can I solve this issue ?

Pls help me.

Thanks & Regards
Jurdy

Comments

sparker888’s picture

I went round and round looking for an answer to define css styles in Tinymce.

Problem was, I could define a style sheet, and it would show up in the editor, but not the live page.

I finally looked at the code for the page to see how style sheets were defined and found a file I could update with my own custom styles and have it show up:

link type="text/css" rel="stylesheet" media="all" href="/drupal-6.2/modules/node/node.css?t"

So I opened nodes.css, edited it with my own custom-named styles, uploaded it to the live Drupal site, and voila.

I'm using Drupal 6.0, so maybe there's a bug fix coming that will enable defined custom styles to work. Dunno...

If anyone has a better solution or knows of work being done on this bug, the info would be much appreciated!!

sparker888
Space Coast Interactive
http://www.spacecoastinteractive.com/