2012-01-02 06:54:03 -06:00
|
|
|
|
/*
|
|
|
|
|
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
|
|
|
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
CKEDITOR.editorConfig = function( config )
|
|
|
|
|
{
|
|
|
|
|
config.toolbar = 'Appy';
|
|
|
|
|
config.toolbar_Appy =
|
|
|
|
|
[
|
2012-01-02 09:59:11 -06:00
|
|
|
|
{ name: 'basicstyles', items : [ 'Format', 'Bold', 'Italic', 'Underline',
|
2012-05-05 10:04:19 -05:00
|
|
|
|
'Strike', 'Subscript', 'Superscript'] },
|
2012-01-02 09:59:11 -06:00
|
|
|
|
{ name: 'paragraph', items : [ 'NumberedList', 'BulletedList', '-',
|
|
|
|
|
'Outdent', 'Indent', '-', 'JustifyLeft',
|
|
|
|
|
'JustifyCenter', 'JustifyRight',
|
|
|
|
|
'JustifyBlock'] },
|
|
|
|
|
{ name: 'clipboard', items : [ 'Cut', 'Copy', 'Paste', 'PasteText',
|
2012-05-05 10:04:19 -05:00
|
|
|
|
'PasteFromWord', 'Undo', 'Redo']},
|
2012-01-02 09:59:11 -06:00
|
|
|
|
{ name: 'editing', items : [ 'Find', 'Replace', '-', 'SelectAll', '-',
|
|
|
|
|
'SpellChecker', 'Scayt']},
|
2012-05-05 10:04:19 -05:00
|
|
|
|
{ name: 'insert', items : [ 'Image', 'Table', 'SpecialChar', 'Link',
|
|
|
|
|
'Unlink', 'Source', 'Maximize']},
|
2012-01-02 06:54:03 -06:00
|
|
|
|
];
|
2012-05-05 10:04:19 -05:00
|
|
|
|
config.toolbar_AppyRich = config.toolbar_Appy.concat(
|
|
|
|
|
[{name: 'styles', items: [ 'Font', 'FontSize', 'TextColor', 'BGColor',
|
|
|
|
|
'RemoveFormat' ]},]
|
|
|
|
|
)
|
2012-01-09 10:00:47 -06:00
|
|
|
|
config.format_p = { element:'p', attributes:{'style':'margin:0;padding:0'}};
|
|
|
|
|
config.format_h1 = { element:'h1', attributes:{'style':'margin:0;padding:0'}};
|
|
|
|
|
config.format_h2 = { element:'h2', attributes:{'style':'margin:0;padding:0'}};
|
|
|
|
|
config.format_h3 = { element:'h3', attributes:{'style':'margin:0;padding:0'}};
|
|
|
|
|
config.format_h4 = { element:'h4', attributes:{'style':'margin:0;padding:0'}};
|
2012-01-02 06:54:03 -06:00
|
|
|
|
};
|