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"
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.
I want to create custom command like InsertCleanParagraph which will be executed when user press the Ctrl+Enter.
The rad editor has NewLineBr="false"
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.