Project

General

Profile

« Previous | Next » 

Revision 1359

Added by Dietmar over 13 years ago

upgrade FCKeditor to Version 2.6.6

View differences:

fckplugin.js
1
/* 
2
 *  FCKPlugin.js
3
 *  ------------
4
 *  This is a generic file which is needed for plugins that are developed
5
 *  for FCKEditor. With the below statements that toolbar is created and
6
 *  several options are being activated.
7
 *
8
 *  See the online documentation for more information:
9
 *  http://wiki.fckeditor.net/
10
*/
11

  
12
// Register the related commands.
13
FCKCommands.RegisterCommand(
14
	'WBDroplets',
15
	new FCKDialogCommand(
16
		'WBDroplets',
17
		FCKLang["WBDropletsDlgTitle"],
18
		FCKPlugins.Items['WBDroplets'].Path + 'fck_wbdroplets.php',
19
		370,
20
		370
21
	)
22
);
23
 
24
// Create the "WBModules" toolbar button.
25
// FCKToolbarButton( commandName, label, tooltip, style, sourceView, contextSensitive )
26
var oWBModulesItem = new FCKToolbarButton( 'WBDroplets', FCKLang["WBDropletsBtn"], null, null, false, true ); 
27
oWBModulesItem.IconPath = FCKConfig.PluginsPath + 'WBDroplets/wbdroplets.gif'; 
28

  
29
// 'CMSContent' is the name that is used in the toolbar config.
1
/* 

2
 *  FCKPlugin.js

3
 *  ------------

4
 *  This is a generic file which is needed for plugins that are developed

5
 *  for FCKEditor. With the below statements that toolbar is created and

6
 *  several options are being activated.

7
 *

8
 *  See the online documentation for more information:

9
 *  http://wiki.fckeditor.net/

10
*/

11

  
12
// Register the related commands.

13
FCKCommands.RegisterCommand(

14
	'WBDroplets',

15
	new FCKDialogCommand(

16
		'WBDroplets',

17
		FCKLang["WBDropletsDlgTitle"],

18
		FCKPlugins.Items['WBDroplets'].Path + 'fck_wbdroplets.php',

19
		370,

20
		370

21
	)

22
);

23
 
24
// Create the "WBModules" toolbar button.

25
// FCKToolbarButton( commandName, label, tooltip, style, sourceView, contextSensitive )

26
var oWBModulesItem = new FCKToolbarButton( 'WBDroplets', FCKLang["WBDropletsBtn"], null, null, false, true ); 

27
oWBModulesItem.IconPath = FCKConfig.PluginsPath + 'WBDroplets/wbdroplets.gif'; 

28

  
29
// 'CMSContent' is the name that is used in the toolbar config.

30 30
FCKToolbarItems.RegisterItem( 'WBDroplets', oWBModulesItem );

Also available in: Unified diff