Remove option from Paste Strip

2 posts, 1 answers
  1. Ryan
    Ryan avatar
    7 posts
    Member since:
    Aug 2012

    Posted 24 Apr 2012 Link to this post

    Hi,

    I am using the rad editor with a ribbon bar tools file.
    I have taken the default ribbon tools.xml file and am in the process of removing any unwanted options.

    I am currently using the tool PasteStrip, however I would like to simplify the menu to remove the options for pasting as HTML and paste HTML.

    Is this possible?

    Here is a section of my tools file:
    <root>
        <modules>
            <module name="RadEditorStatistics" dockingZone="Bottom"/>      
        </modules>
        <tools name="Save" tab="Home">
            <tool name="SaveSubSection" size="large" shortcut="CTRL+S" />
        </tools>
        <tools name="Clipboard" tab="Home">
            <tool name="PasteStrip" size="large"/>
            <tool name="Cut" size="medium"/>
            <tool name="Copy" size="medium" shortcut="CTRL+C"/>
            <tool name="Print" size="medium" shortcut="CTRL+P"/>
        </tools>
    </root>
  2. Answer
    Rumen
    Admin
    Rumen avatar
    14361 posts

    Posted 24 Apr 2012 Link to this post

    Hi,

    You can see how to create a custom toolstrip dropdown button with the desired paste option in the following live demo: Custom ToolStrips.

    Greetings,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top