This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CKEDITOR.editorConfig = function( config ) | |
{ | |
// Define changes to default configuration here. For example: | |
config.protectedSource.push(/<\?[\s\S]*?\?>/g); // PHP Code // Protect PHP code tags (<?...?>) so CKEditor | |
config.toolbarCanCollapse = false; | |
config.resize_enabled = false; | |
config.removePlugins = 'elementspath'; | |
config.language = 'es'; | |
config.toolbar_Full = | |
[ | |
{ name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] }, | |
{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] }, | |
{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] }, | |
{ name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ] }, | |
'/', | |
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] }, | |
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] }, | |
{ name: 'links', items : [ 'Link','Unlink','Anchor' ] }, | |
{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] }, | |
'/', | |
{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] }, | |
{ name: 'colors', items : [ 'TextColor','BGColor' ] }, | |
{ name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] } | |
]; | |
config.toolbar = 'Full'; | |
config.toolbar_Basic = | |
[ | |
['Bold', 'Italic','Underline', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','Undo','Redo'] | |
]; | |
config.toolbar = 'Basic'; | |
// config.uiColor = '#AADC6E'; | |
}; |
2 comentarios:
Gracias! Me ha sido de gran utilidad.
Denada Wek,
Para eso estamos y si queres mantenerte al tanto suscribite a mi blog.
Saludos ;-)
Publicar un comentario