[gen] Integrated ckeditor 4.1.
This commit is contained in:
parent
c87db8d167
commit
e1e1b90921
184 changed files with 2708 additions and 40 deletions
|
@ -3,28 +3,19 @@ Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
|||
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.editorConfig = function( config )
|
||||
{
|
||||
CKEDITOR.editorConfig = function(config) {
|
||||
config.toolbar = 'Appy';
|
||||
config.toolbar_Appy =
|
||||
[
|
||||
{ name: 'basicstyles', items : [ 'Format', 'Bold', 'Italic', 'Underline',
|
||||
'Strike', 'Subscript', 'Superscript'] },
|
||||
{ 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', 'SpecialChar', 'Link',
|
||||
'Unlink', 'Source', 'Maximize']},
|
||||
config.toolbar_Appy = [
|
||||
{name: 'basicstyles', items: ['Format', 'Bold', 'Italic', 'Underline',
|
||||
'Strike', 'Subscript', 'Superscript',
|
||||
'RemoveFormat'] },
|
||||
{name: 'paragraph', items: ['NumberedList', 'BulletedList'] },
|
||||
{name: 'clipboard', items: ['Cut', 'Copy', 'Paste', 'PasteText',
|
||||
'Undo', 'Redo']},
|
||||
{name: 'editing', items: ['Scayt']},
|
||||
{name: 'insert', items: ['Image', 'Table', 'SpecialChar', 'Link',
|
||||
'Unlink', 'Source', 'Maximize']},
|
||||
];
|
||||
config.toolbar_AppyRich = config.toolbar_Appy.concat(
|
||||
[{name: 'styles', items: [ 'Font', 'FontSize', 'TextColor', 'BGColor',
|
||||
'RemoveFormat' ]},]
|
||||
)
|
||||
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'}};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue