or
| var toolbar = parent.frames["HeaderFrame"].document.getElementById("ToolBarMenu"); |
| for(i=0; i<toolbar.get_items().get_count(); i++) |
| { |
| alert(toolbar.get_items().getItem(i).get_text()); // to see if the toolbar is really a radtoolbar aobject |
| } |
| <?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 name="Italic" /> |
| <tool name="Underline" /> |
| <tool name="ForeColor" /> |
| <tool name="BackColor"/> |
| <tool separator="true"/> |
| <tool name="FontName"/> |
| <tool name="RealFontSize"/>--> |
| <tool separator="true"/> |
| <tool separator="true"/> |
| <tool name="FormatBlock" /> |
| <tool name="Bold" /> |
| </tools> |
| <paragraphs> |
| <paragraph name="Clear formatting" value="<body>" /> |
| <!-- <paragraph name="<H1>Heading 1</H1>" value="<H1>" /> |
| <paragraph name="<H2>Heading 2</H2>" value="<H2>" />--> |
| <paragraph name="<H3>Heading 3</H3>" value="<H3>" /> |
| </paragraphs> |
| <contextMenus> |
| <contextMenu forElement="IMG" enabled="true"> |
| <tool name="Paste" /> |
| <tool name="pastePlainText" /> |
| </contextMenu> |
| </contextMenus> |
| </root> |