- Regresar »
- FCKEditor , Iron Speed »
- Personalizar el FCKEditor
Este componente ofrece un control de entrada de texto HTML, requiero que no se muestren las opciones de formato de fuente.
En la carpeta donde esta alojado el sitio web, buscar y editar:
..\FCKeditor\fckconfig.js
Por defecto esta de esta manera:
FCKConfig.ToolbarSets["Default"] = [
['Source','DocProps','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough'],['Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
['Style'],['FontFormat'],['FontName'],['FontSize'],
['TextColor','BGColor'],
['FitWindow']
] ;
Y para este caso debe quedar así:
FCKConfig.ToolbarSets["Default"] = [
['Source','DocProps','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough'],['Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
['TextColor','BGColor'],
['FitWindow']
] ;
Se graba y los cambios se reflejan al momento, si esto no sucede es porque el javascript se ha cacheado, simplemente CTRL-F5 en IE o su equivalente en otros navegadores.
Publicar un comentario