This is a migrated thread and some comments may be shown as answers.

[Solved] contextMenus in ToolsFile ??

0 Answers 79 Views
Editor
This is a migrated thread and some comments may be shown as answers.
mac
Top achievements
Rank 1
mac asked on 13 Oct 2009, 07:44 PM
hello
I am trying to determine how to embed my contextMenus inside my tools file.
I have looked at http://www.telerik.com/help/aspnet-ajax/usintthetoolsfile.html and http://www.telerik.com/support/kb/aspnet-ajax/editor/default-toolsfile-xml-file.aspx. Using the tools files seems to allude that you can embed the contextMenus into the tools menu... except it doesn't seem to work.
I have like this 

<?

 

xml version="1.0" encoding="utf-8" ?>

 

<

 

root>

 

-

<modules>

 

<

 

module name="RadEditorStatistics" dockingZone="Bottom" enabled="true" visible="true" />

 

<

 

module name="RadEditorDomInspector" dockingZone="Module" enabled="false" visible="false" />

 

<

 

module name="RadEditorNodeInspector" dockingZone="Module" enabled="false" visible="false" />

 

<

 

module name="RadEditorHtmlInspector" dockingZone="Module" enabled="false" visible="false" />

 

</

 

modules>

 

<

 

tools>

 

 

<

 

tool name="FindAndReplace" />

 

<

 

tool name="Undo" />

 

<

 

tool name="Redo" />

 

<

 

tool name="Cut" />

 

<

 

tool name="Copy" />

 

<

 

tool name="Paste" shortcut="CTRL+!"/>

 

<

 

tool name="InsertOrderedList" />

 

<

 

tool name="InsertUnorderedList" />

 

 

<

 

tool name="FormatStripper" />

 

<

 

tool name="PasteFromWordNoFontsNoSizes" />

 

 

 

 

<

tool separator="true"/>

 

 

<

 

tool separator="true"/>

 

<

 

tool name="FormatBlock" />

 

<

 

tool name="Bold" />

 

</

 

tools>

 

<

 

paragraphs>

 

<

 

paragraph name="Clear formatting" value="&lt;body&gt;" />

 

<

 

paragraph name="&lt;H3&gt;Heading 3&lt;/H3&gt;" value="&lt;H3&gt;" />

 

</

 

paragraphs>

 

<

 

contextMenus>

 

<

 

contextMenu forElement="IMG" enabled="true">

 

<

 

tool name="Paste" />

 

<

 

tool name="pastePlainText" />

 

</

 

contextMenu>

 

</

 

contextMenus>

 

</

 

root>

All I want if for my users to past plain text or paste only. Any thoughts would be appreciated.
mac

 

No answers yet. Maybe you can help?

Tags
Editor
Asked by
mac
Top achievements
Rank 1
Share this question
or