source: companies/celepar/news_admin/templates/celepar/fckeditor/to_delete/_samples/html/sample06.config.js @ 763

Revision 763, 1.9 KB checked in by niltonneto, 15 years ago (diff)

Importação inicial do Expresso da Celepar

Line 
1/*
2 * FCKeditor - The text editor for internet
3 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
4 *
5 * Licensed under the terms of the GNU Lesser General Public License:
6 *              http://www.opensource.org/licenses/lgpl-license.php
7 *
8 * For further information visit:
9 *              http://www.fckeditor.net/
10 *
11 * "Support Open Source software. What about a donation today?"
12 *
13 * File Name: sample06.config.js
14 *      Sample custom configuration settings used in the plugin sample page (sample06).
15 *
16 * File Authors:
17 *              Frederico Caldeira Knabben (fredck@fckeditor.net)
18 */
19
20// Set our sample toolbar.
21FCKConfig.ToolbarSets['PluginTest'] = [
22        ['SourceSimple'],
23        ['My_Find','My_Replace','-','Placeholder'],
24        ['StyleSimple','FontFormatSimple','FontNameSimple','FontSizeSimple'],
25        ['Table','-','TableInsertRow','TableDeleteRows','TableInsertColumn','TableDeleteColumns','TableInsertCell','TableDeleteCells','TableMergeCells','TableSplitCell'],
26        ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink'],
27        '/',
28        ['My_BigStyle','-','Smiley','-','About']
29] ;
30
31// Change the default plugin path.
32FCKConfig.PluginsPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length - 7) + '_samples/_plugins/' ;
33
34// Add our plugin to the plugins list.
35//              FCKConfig.Plugins.Add( pluginName, availableLanguages )
36//                      pluginName: The plugin name. The plugin directory must match this name.
37//                      availableLanguages: a list of available language files for the plugin (separated by a comma).
38FCKConfig.Plugins.Add( 'findreplace', 'en,it,fr' ) ;
39FCKConfig.Plugins.Add( 'samples' ) ;
40
41// If you want to use plugins found on other directories, just use the third parameter.
42var sOtherPluginPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length - 7) + 'editor/plugins/' ;
43FCKConfig.Plugins.Add( 'placeholder', 'en,it,de,fr', sOtherPluginPath ) ;
44FCKConfig.Plugins.Add( 'tablecommands', null, sOtherPluginPath ) ;
45FCKConfig.Plugins.Add( 'simplecommands', null, sOtherPluginPath ) ;
Note: See TracBrowser for help on using the repository browser.