appypod-rattail/gen/ui/ckeditor/config.js

32 lines
1.6 KiB
JavaScript
Raw Normal View History

/*
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 =
[
{ 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']},
];
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'}};
};