Is there a way to use a different body style for two textareas on the same page?

It appears I can not theme them differently.

Comments

I ended up adding the following line to fckeditor.module:

$textarea_id = $conf['show_toggle'] == 't' ? $js_id : $element['#id'];
$_fckeditor_js_ids[$element['#id']] = $textarea_id;
$js = $js_id ." = new FCKeditor( '". $textarea_id ."' );
". $js_id .".BasePath = '". $module_full_path ."/fckeditor/';
". $js_id .".Config['CustomConfigurationsPath'] = \"". $fckeditor_config_path ."\";
". $js_id .".Config['BodyClass'] = \"". $element['#id'] ."\";
". $js_id .".Config['TextareaID'] = \"". $element['#id'] ."\";";

It adds a class to the body element with the name of the element id. It allows me to do custom css styling per textareaID.

Version:6.x-1.3-rc7» 6.x-2.x-dev
Category:support» feature

This might be considered for 6.x-2.x.

I think it is better to set BodyId, would that also be good?

Assigned:Unassigned» Jorrit

I will look at this soon.

Status:Active» Fixed

Fixed in CVS

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.