I am trying to add a new editorTool to a n instance of the rad editor. When I run the project with the below code, the editor displays without any tools except the one i have added manualy. When i remove the below and re-run the project all the tools are available.
EditorToolGroup main = new EditorToolGroup();
RadEditor1.Tools.Add(main);
EditorTool insertContentLink = new EditorTool();
insertContentLink.Name = "InsertContentLink";
insertContentLink.Text = "Insert Content Link";
insertContentLink.ShortCut = "CTRL+B";
main.Tools.Add(insertContentLink);
I have based my code on the demo here http://demos.telerik.com/aspnet-ajax/editor/examples/customtools/defaultcs.aspx
EditorToolGroup main = new EditorToolGroup();
RadEditor1.Tools.Add(main);
EditorTool insertContentLink = new EditorTool();
insertContentLink.Name = "InsertContentLink";
insertContentLink.Text = "Insert Content Link";
insertContentLink.ShortCut = "CTRL+B";
main.Tools.Add(insertContentLink);
I have based my code on the demo here http://demos.telerik.com/aspnet-ajax/editor/examples/customtools/defaultcs.aspx