| Context Menu items disabling
|
| |
|
<%@ Register TagPrefix="ed" Namespace="OboutInc.Editor" Assembly="obout_Editor" %>
|
You can suppress some default Context Menu items.
Inner SuppressContextMenu collection is used.
If you want to suppress the whole default Context Menu use DefaultContextMenu
property (See Editor properties & events).
| |
|
Editor's object for SuppressContextMenu collection
OboutInc.Editor.SuppressContextMenuItem
|
This object has a single public property
Name. The property defines what context menu item will be deleted
from default context menu. All possible values of the property are defined
in OboutInc.Editor.SuppressContextMenuItem.Names enumeration,
they are obvious:
Flash_properties
Copy_Flash
Cut_Flash
Delete_Flash
Media_properties
Copy_Media
Cut_Media
Delete_Media
INPUT_properties
Delete_INPUT
Image_properties
Copy_Image
Cut_Image
Delete_Image
DIV_properties
Remove_DIV
Remove_DIV_tag
URL_Link_properties
Remove_URL_Link
Anchor_properties
Delete_Anchor
Cell_properties
Table_properties
Copy_Table
Cut_Table
Delete_Table
Form_properties
Remove_FORM
Remove_FORM_tag
Cut
Copy
Paste
Paste_Plain_Text
Delete
Select_All
Make_editable
|
|
|
|
|
Sample ASP.NET
<ed:Editor id="editor" runat="server">
<SuppressContextMenu>
<ed:SuppressContextMenuItem Name="Cut_Table" />
<ed:SuppressContextMenuItem Name="Delete_Table" />
</SuppressContextMenu>
</ed:Editor>
| |
|
| "Thank you!!! ... Awesome customer service!! :)" |
Romi Kovacs |
|
| |
|