Community & Support

CSS and FCKE : how to work with my own CSS

hi

FCKE display my content with my own css but it doesnt apply it when i go to see content...
i dont understand why...idem if i want to apply style in FCKE..

do you knox the way to do this functionnaly ?

thx

Comments

fckstyles.xml

You will want to make sure that whatever styles are in you fckstyles.xml file (these appear in the style dropdown) are also in your theme's .css file (if you are using your theme's css file in the FCK config).

TinyMCE and WYSIWYG

I searched extensively on this topic a few days ago (Drupal noob with strong Google-fu here).

The problem as I see it is that to have FCK pay attention to your CSS, you have to translate your special CSS entries into XML and put them in a special file.

But of course, at that point, you've just shot yourself in the foot, because in order to add something to the CSS you must now also add it to the XML, and thus you've made more work, not less.

I saw someone else point out that using the WYSIWYG module and TinyMCE allowed a Drupal user to flawlessly get CSS data into the editor, and I can confirm this to be true. Thus, I would recommend dropping FCK for now and going with TinyMCE.

i heard you, but tinyMCE will

i heard you, but tinyMCE will work with WebFM to includes links to files into content ? because i need this...and i ve saw that FCKE is on a new version called CKE...do you know if it works with drupal ?

Dev Server Ubuntu 10.04 LAMP PHP 5.2.10 ( 1 Laptop)
7 websites powered by drupal 6 - Hosted by OVH and Always Data

CKE coming

From:

http://drupal.org/project/fckeditor

CKEditor module: we received lots of user requests* asking for the CKEditor module. CKEditor is the next version of FCKeditor. Just wanted to let you know that we're working on it. It will be based on the 6.x-2.x version of the FCKeditor module and will provide basically the same functionality (at least at the beginning). Beta version should be available in Nov 2009.

* http://drupal.org/node/438360

nobody click here