source: trunk/admin/inc/ckeditor/config.js@ 404

Last change on this file since 404 was 239, checked in by luc, 9 years ago

Admin: correzione visulaizzazione immissione dati spoglio per Chrome e Safari - Aggiornamento dell'editor da FCKeditor a CKeditor , accessibili anche a Chrome e Safari.

  • Property svn:executable set to *
File size: 2.6 KB
RevLine 
[239]1/*
2Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.html or http://ckeditor.com/license
4*/
5
6CKEDITOR.editorConfig = function( config )
7{
8 // Define changes to default configuration here. For example:
9 //config.language = 'it';
10 //config.uiColor = '#AADC6E';
11 config.startupMode = 'wysiwyg';
12 config.startupFocus = false;
13 config.extraPlugins='appagebreak';
14/*
15 config.filebrowserBrowseUrl = 'inc/ckeditor/filemanager/browse.php?type=files';
16 config.filebrowserImageBrowseUrl = 'inc/ckeditor/filemanager/browse.php?type=images';
17 config.filebrowserFlashBrowseUrl = 'inc/ckeditor/filemanager/browse.php?type=flash';
18 config.filebrowserUploadUrl = 'inc/ckeditor/filemanager/upload.php?type=files';
19 config.filebrowserImageUploadUrl = 'inc/ckeditor/filemanager/upload.php?type=images';
20 config.filebrowserFlashUploadUrl = 'inc/ckeditor/filemanager/upload.php?type=flash';
21*/
22
23 config.toolbar_Basic =
24[
25 [ 'Source', '-', 'Bold', 'Italic','Underline' ]
26];
27
28 config.toolbar_Medium =
29[
30 [ 'Source', '-', 'Bold','Italic','Underline' ],
31 ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
32 ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
33 '/',
34 ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
35 ['Image','Flash','Table','HorizontalRule','SpecialChar'],
36 ['TextColor','BGColor']
37];
38
39 config.toolbar_Forum =
40[
41 [ 'Source', '-', 'Bold','Italic','Underline' ],
42 ['TextColor','BGColor'],
43 ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
44 ['Image','jwplayer','Smiley','HorizontalRule'],
45 ['Link','Unlink']
46];
47
48
49
50 // This is actually the default value.
51 config.toolbar_Full =
52[
53 ['Source','-','Save','NewPage','Preview','-','Templates'],
54 ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
55 ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
56 ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
57 '/',
58 ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
59 ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
60 ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
61 ['Link','Unlink','Anchor'],
62 ['Image','jwplayer','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
63 '/',
64 ['Styles','Format','Font','FontSize'],
65 ['TextColor','BGColor'],
66 ['Maximize', 'ShowBlocks','-','About'],
67 ['appagebreak']
68];
69};
Note: See TracBrowser for help on using the repository browser.