Inserire il bottone per la giustificazione e per la creazione corretta dell'anteprima (Teaser)

In FCKeditor, per avere i bottoni di:

  • giustificazione del testo
  • creazione del Teaser (Anteprima) correispondente a <!--break-->

occorre modificare i file fckeditor.config.js che si trova nel modulo fckeditor.

E' preferibile dare le impostazioni alla barra "DrupalFull" assegnata normalmente all'amministratore

Questa è l'impostazione che utilizzo:

FCKConfig.ToolbarSets["DrupalFull"] = [
['Source'],
['Cut','Copy','Paste','PasteText','PasteWord'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
//['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['Bold','Italic','StrikeThrough','-','Subscript','Superscript'],
//['OrderedList','UnorderedList','-','Outdent','Indent'],
['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
//as of FCKeditor 2.5 you can use also 'Blockquote' button
//['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
/*
 * EXPERIMENTAL
 * Uncomment the line below to enable linktonode and linktomenu buttons
 * ATTENTION: Link to Content module must be installed first!
 * Remember to load appropriate plugins with FCKConfig.Plugins.Add command a couple of lines above
 */
//['Link','Unlink','LinkToNode','LinkToMenu','Anchor'],
['Link','Unlink','Anchor'],
//['Image','Flash','Table','Rule','SpecialChar','DrupalBreak'],
['Image','Flash','Table','Rule','Smiley','SpecialChar','DrupalBreak'],
//uncomment this line to enable the page break button
//remember to load appropriate plugin with FCKConfig.Plugins.Add command a couple of lines above
//['Image','Flash','Table','Rule','SpecialChar','DrupalBreak','DrupalPageBreak'],
'/',
['FontFormat','FontName','FontSize'],
['TextColor','BGColor']
] ;

Il file completo fckeditor.config.js si trova in allegato.