When I turn page in edit mode. Before all FCKeditor panels is loaded I get dialog with warning, twice. The warning is:
"Unknown element of UniversalKey panel". What is this unknown element?
There is my fckeditor.config.js:

// $Id: fckeditor.config.js,v 1.4 2006/10/12 21:09:07 ontwerpwerk Exp $
FCKConfig.ToolbarSets["DrupalFull"] = [
	['Source'],
	['Cut','Copy','Paste','PasteText','PasteWord'],
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
	['OrderedList','UnorderedList','-','Outdent','Indent'],
	['JustifyLeft','JustifyCenter','JustifyRight'],
	['Link','Unlink','Anchor'],
	['Image','Flash','Table','Rule','SpecialChar','PageBreak','UniversalKey'],
	'/',
	['FontFormat'],
	['TextColor','BGColor']
] ;

FCKConfig.ToolbarSets["DrupalBasic"] = [
	['FontFormat','-','Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink', 'Image']
] ;

// Protect PHP code tags (<?...?>) so FCKeditor will not break them when
// switching from Source to WYSIWYG.
// Uncomment this line doesn't mean the user will not be able to type PHP
// code in the source. This kind of prevention must be done in the server side
// (as does Drupal), so just leave this line as is.
FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ;	// PHP style server side code

Comments

Scourge’s picture

Sounds like there's a problem with the Universal Keyboard feature (which might be a plugin, I don't recall offhand). That's the feature that pulls up a virtual keyboard in various languages you can click on.

If you don't need that feature, try removing the 'UniversalKey' entry from the end of 10th line you quoted above (and the preceeding comma). That may remove the warning for you.

Easter-1’s picture

Yes, I've tryed. But warning is left.
I've looked FCKeditor home site. The defualt configuration includes UniversalKey. So I think it not needs plugin.
Also I have russian languge. Maybe there no russian definitions for Universal Keyboard?

charmer’s picture

after you edit the config file and FCKEditor won't try to load this item anymore.

Easter-1’s picture

I don't know what the kind of magic it was. But know after I've edited config file the warning is disappeared.
Thank you very mutch!

drupalok’s picture

(FROM http://drupal.org/node/114681)

Just installed the fckeditor
BossHappy - January 31, 2007 - 19:07

First, I'm assuming you've downloaded and installed the Drupal FCKeditor module: http://drupal.org/project/fckeditor

Second, go to http://www.fckeditor.net and download the actual FCKeditor.

Unzip the tar/zip in your ../modules/fckeditor directory. This will create a subdirectory: ../modules/fckeditor/fckeditor

The subdirectory holds the actual fckeditor.

Be sure the folders and contents are owned by the user running Apache.
chown -R apacheuser:apacheuser ../modules/fckeditor

Now activate the module and grant user permissions.

Finally, when I installed this module I kept getting an error stating:

Unknown toolbar item "UniversalKey"

To get rid of this error, I opened ../modules/fckeditor/fckeditor.config.js

I changed:
FCKConfig.ToolbarSets["DrupalFull"] = [
['Source'],
['Cut','Copy','Paste','PasteText','PasteWord'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','SpecialChar','PageBreak','UniversalKey'],
'/',
['FontFormat'],
['TextColor','BGColor']
] ;

to
FCKConfig.ToolbarSets["DrupalFull"] = [
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
'/',
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
'/',
['Style','FontFormat'],
['FontName','FontSize'],
['TextColor','BGColor'],
['FitWindow','-','About']
] ;

And everything worked fine.

--Boss Happy
P.S. Not sure why empty lines are showing in the code blocks, they should not be there

jstade’s picture

If you're having troubles with the popup appearing after the config change, make sure you clear your browser cache. According to the FCKEditor wiki, the UniversalKey toolbar object was removed in version 2.3.3.

tqsenkungu’s picture

I had removed the universalkey toolbar item in two other installs and it worked fine immediately. this time it wouldn't and clearing the cache did the trick. such fine attention to detail.

TQ