Hi CAP,
Add a new delete option into context menu,it can be use even the tag ContentEditable set to false.
-
<%@ Page Language="C#" ValidateRequest="false" %>
-
-
<%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
-
<html>
-
<head>
-
</head>
-
<body>
-
<form id="Form1" runat="server">
-
<CE:Editor ID="Editor1" runat="server">
-
</CE:Editor>
-
</form>
-
</body>
-
</html>
-
-
<script>
-
function CuteEditor_AddMainMenuItems(menuitem)
-
{
-
menuitem.AddMenuItem(1,"Delete","delete.gif",DefaultMenuHandler);
-
}
-
function DefaultMenuHandler(menuitem)
-
{
-
menuitem.editor.ExecCommand("Delete")
-
}
-
-
</script>
Hide the default delete menu
1. Open "CuteSoft_Client\CuteEditor\Configuration\ContextMenuMode\Default.config"
2. Find section below and delete it
<ref name="Delete" />
Regards,
ken