ContextMenu"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(New page: == ContextMenu == This option allows you to determine if the objects context menu will appear after clicking on the object. It sounds difficult but an example will show how doest it work....)
 
 
Line 4: Line 4:
  
 
Example: The original ContextMenu list appears like this:
 
Example: The original ContextMenu list appears like this:
<pre>
+
<pre>FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField', 'HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form']&nbsp;;
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ;
+
</pre>  
</pre>
 
 
Lets remove 'Table' from the list:
 
Lets remove 'Table' from the list:
<pre>
+
<pre>FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField', 'HiddenField','ImageButton','Button','BulletedList','NumberedList','Form']&nbsp;;
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Form'] ;
+
</pre>  
</pre>
 
 
If the user creates a table and than right click on it, he will not find the table context menu but only the 'Generic' menu (Cut, Copy, Paste).
 
If the user creates a table and than right click on it, he will not find the table context menu but only the 'Generic' menu (Cut, Copy, Paste).
  
 
'''NOTE''': The first item of the list 'Generic' is the context menu consisting cut, copy and paste functions.
 
'''NOTE''': The first item of the list 'Generic' is the context menu consisting cut, copy and paste functions.

Latest revision as of 16:22, 11 January 2008

ContextMenu

This option allows you to determine if the objects context menu will appear after clicking on the object. It sounds difficult but an example will show how doest it work.

Example: The original ContextMenu list appears like this:

FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField', 'HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ;

Lets remove 'Table' from the list:

FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField', 'HiddenField','ImageButton','Button','BulletedList','NumberedList','Form'] ;

If the user creates a table and than right click on it, he will not find the table context menu but only the 'Generic' menu (Cut, Copy, Paste).

NOTE: The first item of the list 'Generic' is the context menu consisting cut, copy and paste functions.

This page was last edited on 11 January 2008, at 16:22.