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

copy,cut and paste didn't show up on context menu on the text that was copied and pasted from other file into RadEditor

5 Answers 155 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Iris
Top achievements
Rank 1
Iris asked on 22 May 2014, 08:02 PM
Hi ,

We are currently using RadEditor in our project.  We customized the Toolbars by removing some tools. I knew that adding or removing tools will automatically disable the built-in context menus. So I added the context menus manually. It worked fine on text that was directly typed into RadEditor. However, if we copied some text from other files and pasted it into RadEditor, the context menu did not show copy, cut and paste menu items when you right-click on the copy-paste text after highlighting. (Cut, Copy and Paste functions on Toolbars and Key board still work well ). After researching, I have learned that the context menus of RadEditor had some issue with IE8 and the issue could be resolved by installing Telerik 2014 Q1 SP1. We did that today but the problem still remains  (copy, cut and paste didn't show up  on context menu on the text that was copied and pasted into RadEditor). I spend some days try to figure out the reason but failed to get right answer (I remember one or two telerik team member said that issue  related privilege/Security. but can we avoid security checking or bypass this privilege be certain way?) . Could anyone have any suggestion?
Thanks in advance.

5 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 23 May 2014, 07:42 AM
Hello Iris,

The context menus of the editor are mostly dependent on the used HTML markup.

As you surely have realized is that they are configured for each desired tag and show up accordingly the selected element (tag name).

In cases of pasted content, you can examine what exactly is pasted and how is generated as HTML markup and see if the tags are as configured. If not, I can suggest reconfigure the context menus according the encountered cases.

Also, I suggest posting a sample code or attach a simple project, so that it could be examined locally and investigated properly. Without exact details about the built code, I can only make assumptions on the exact scenario.


Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Iris
Top achievements
Rank 1
answered on 23 May 2014, 12:52 PM

Hi lanko,

Thank you very much for your respond. I will try to create sample
application when I go to office next week. I should mention that our RadEditor
was inside RadWindow which was inside usercontrol which in turn  inside child page. I personal don't think that
chain caused problem. but not very sure. what is your thought?

Thanks.
0
Ianko
Telerik team
answered on 23 May 2014, 02:40 PM
Hi Iris,

The described scenario should not be the reason for the problematic behavior.

It would be best if you could prepare and provide a sample project with which to investigate this locally.

I am looking forward to your reply.

Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Iris
Top achievements
Rank 1
answered on 23 May 2014, 06:39 PM
Hi lanko,

Thanks for confirming what I thought. I will create small
application on next Tuesday and look forward to your support. Much appreciated
your help!

Best regards,
Iris
0
Iris
Top achievements
Rank 1
answered on 27 May 2014, 07:18 PM
Hi Lanko,

I installing Telerik 2014 Q1 SP1 last week but didn't replace several .dll files under application bin folder. I refreshed related folder and files today. the context menu seems working now. Thanks for your support.

Iris
Tags
Editor
Asked by
Iris
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Iris
Top achievements
Rank 1
Share this question
or