2
* FCKeditor - The text editor for internet
3
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
5
* Licensed under the terms of the GNU Lesser General Public License:
6
* http://www.opensource.org/licenses/lgpl-license.php
8
* For further information visit:
9
* http://www.fckeditor.net/
11
* "Support Open Source software. What about a donation today?"
13
* File Name: sample06.config.js
14
* Sample custom configuration settings used in the plugin sample page (sample06).
17
* Frederico Caldeira Knabben (fredck@fckeditor.net)
20
// Set our sample toolbar.
21
FCKConfig.ToolbarSets['PluginTest'] = [
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'],
28
['My_BigStyle','-','About']
31
// Change the default plugin path.
32
FCKConfig.PluginsPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length - 7) + '_samples/_plugins/' ;
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).
38
FCKConfig.Plugins.Add( 'findreplace', 'en,it,fr' ) ;
39
FCKConfig.Plugins.Add( 'samples' ) ;
41
// If you want to use plugins found on other directories, just use the third parameter.
42
var sOtherPluginPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length - 7) + 'editor/plugins/' ;
43
FCKConfig.Plugins.Add( 'placeholder', 'en,it,de,fr', sOtherPluginPath ) ;
44
FCKConfig.Plugins.Add( 'tablecommands', null, sOtherPluginPath ) ;
45
FCKConfig.Plugins.Add( 'simplecommands', null, sOtherPluginPath ) ;