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

[Solved] Create custom commands without any custom tool

1 Answer 110 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Frank Witte
Top achievements
Rank 1
Frank Witte asked on 27 May 2009, 09:01 AM
I want to create custom command without creating a custom tool.
I want to create custom command like InsertCleanParagraph which will be executed when user press the Ctrl+Enter.

The rad editor has  NewLineBr="false" ; and  ToolbarMode="PageTop"

So when I press Ctrl+Enter in RAD editor it should insert
<p style="clear:both"></p>

When I press Shift+Enter it should insert
<br/>   Which is done by default command InsertParagraph

But I don't want any tool button to appear for this new command.

Please tell me how can I do this.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 29 May 2009, 01:15 PM
Hello Frank,

Please, use the provided solution in this forum thread: Create Custom Commands.

Sincerely,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Frank Witte
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or