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

Need to disable, or clear editor, on past right click menu option

1 Answer 61 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Steve Holdorf
Top achievements
Rank 1
Steve Holdorf asked on 25 Feb 2013, 05:59 PM
I have a radeditor that is enabled with the only option being allow toggle to full screen mode. I have the the onkeydown event programmed in javascript to return if a key is pressed so that the editor will not allow for typing. The editor must be enabled. The problem I have is that if a user cuts text from one window and right clicks on the radeditor and chooses "paste" text will be pasted into the radeditor. I am trying to make the enabled radeditor act as if the text area is disabled. How can I prevent the right click "paste" from inserting text into the radeditor?

Thanks,


Steve Holdorf

1 Answer, 1 is accepted

Sort by
0
Steve Holdorf
Top achievements
Rank 1
answered on 25 Feb 2013, 06:20 PM
OK. I figured it out. All I had to do was set the radeditor's context menu Enabled="false".

Thanks,


Steve Holdorf
Tags
Editor
Asked by
Steve Holdorf
Top achievements
Rank 1
Answers by
Steve Holdorf
Top achievements
Rank 1
Share this question
or