Can anyone offer help to enable the CreateDiv toolbar button as it is not visible.
fckconfig.js shows:

FCKConfig.ToolbarSets["Default"] = [
	['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
	'/',
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
	['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],**here**
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
	['Link','Unlink','Anchor'],
	['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
	'/',
	['Style','FontFormat','FontName','FontSize'],
	['TextColor','BGColor'],
	['FitWindow','ShowBlocks','-','About']		// No comma for the last row.
] ;

Using fckeditor 2.6.5
module fckeditor 6.x-1.4

what am I missing?

Comments

StephenFresh’s picture

Ok found that, - copied CreateDiv to fckeditor.config.js and it worked.

My next question is how to get styles in the CreateDiv drop down menu?

Jorrit’s picture

I don't know, it does look like a normal FCKeditor configuration issue, not a Drupal issue.

Jorrit’s picture

Status: Active » Closed (fixed)

The styles dropdown is populated by the div related styles from the fckstyles.xml file.