disable right-click formatting options

Last post 01-10-2005, 11:31 PM by Adam. 3 replies.
Sort Posts: Previous Next
  •  12-08-2004, 10:14 AM 2930

    disable right-click formatting options

    I only want to allow users to use the formatting buttons in the toolbar and not what they can access via the right-click menu; how can i disable it?  thanks!

  •  12-08-2004, 10:33 AM 2931 in reply to 2930

    Re: disable right-click formatting options

    chilton :
     
    Please check the property :
     
    Editor1.EnableContextMenuFormat=false;
     
    Regards , Terry .
  •  12-08-2004, 10:36 AM 2932 in reply to 2930

    Re: disable right-click formatting options

    chilton,

    You can also change the contextmenu setting by  modifying Cute Editortoolbar configuration files.

    Configuration file Structure   

    The Cute Editor toolbar configuration files, which contain XML, specify the toolbar configuration information of the Cute Editor instance. These configurations are applied using AutoConfigure property. All the configuration files can be found in the /CuteEditor/Configuration folder.


    <contextmenu> Element

    Specify the context menu configuration information of the Cute Editor instance.

     contextmenu: <item> Element

    Represent a group of context menus.

    Attribute

    Description

    name

    This attribute contains the name of context menu group.

     

    Group Menu Name

    Menu Items

    Editing

    Undo, Redo, Cut, Copy, Paste, SelectAll, Edit

    Format

    Bold, Italic, Underline, StrikeThrough, ForeColor, BackColor, Justify, JustifyLeft, JustifyCenter, JustifyRight, JustifyFull, JustifyNone, Indent, Outdent, Superscript, Subscript, RemoveFormat

    Insert

    ImageGalleryByBrowsing, InsertImage, InsertFlash, InsertMedia, InsertDocument, InsertTemplate, InsertTable, InsertHorizontalRule, InsertForm, Advanced

    InsertAdvanced

    Paragraph, LineBreak, OrderedList, UnorderedList, InsertFieldSet, InsertText

    InsertFiles

    ImageGalleryByBrowsing, InsertImage, InsertFlash, InsertMedia, InsertDocument

    InsertForms

    InsertForm, InsertInputText, InsertTextBox, InsertRadioBox, InsertCheckBox, InsertListBox, InsertDropDown, InsertInputImage, InsertInputSubmit, InsertInputReset, InsertInputReset, InsertInputReset, InsertInputButton

    Relative Tags

    Find and Edit the nearest element

    Verbs

    element Verbs


    value

    Specifies whether the context menu group is enabled.  If false, the context menu group will be disabled.

     

    Disable all the contextmenu example:

     <contextmenu>

            <item name="Editing" value="False" />

             <item name="Format" value="False" />

            <item name="Insert" value="False" />

            <item name="InsertAdvanced" value="False" />

            <item name="InsertFiles" value="False" />

            <item name="InsertForms" value="False" />

            <item name="Relative" value="False" />

            <item name="Tags" value="False" />

            <item name="Verbs" value="False" />

    </contextmenu>...

     

    Check the following link for more information:

    http://cutesoft.net/developer+guide/Toolbar_Edit_the_static_configuration.htm


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-10-2005, 11:31 PM 3377 in reply to 2932

    Re: disable right-click formatting options

View as RSS news feed in XML