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',
|
|
|
|
|
'Strike', 'Subscript', 'Superscript', '-',
|
|
|
|
|
'RemoveFormat' ] },
|
|
|
|
|
{ name: 'paragraph', items : [ 'NumberedList', 'BulletedList', '-',
|
|
|
|
|
'Outdent', 'Indent', '-', 'JustifyLeft',
|
|
|
|
|
'JustifyCenter', 'JustifyRight',
|
|
|
|
|
'JustifyBlock'] },
|
|
|
|
|
{ name: 'clipboard', items : [ 'Cut', 'Copy', 'Paste', 'PasteText',
|
|
|
|
|
'PasteFromWord', '-', 'Undo', 'Redo' ] },
|
|
|
|
|
{ name: 'editing', items : [ 'Find', 'Replace', '-', 'SelectAll', '-',
|
|
|
|
|
'SpellChecker', 'Scayt']},
|
|
|
|
|
{ name: 'insert', items : [ 'Image', 'Table', 'HorizontalRule',
|
|
|
|
|
'SpecialChar', 'PageBreak', 'Link', 'Unlink',
|
|
|
|
|
'-', 'Maximize']},
|
2012-01-02 06:54:03 -06:00
|
|
|
|
];
|
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
|
|
|
|
};
|