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

Cut and Paste copies stylesheet tag

5 Answers 32 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 2
Mark asked on 05 Oct 2010, 07:06 PM
I probably am overlooking something very simple here, but if I copy formatted text from one rad editor to another, it copies <link id="RADEDITORSTYLESHEET0" href="../../WebResource.axd?d=DD6d.. amongst other style information.
Since I am using the control to enable the user to add HTML text to a form, this ruins the form.

How do I keep the formatted text but avoid having the style links included?
Thanks
Mark Austin

5 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 07 Oct 2010, 04:39 PM
Hi Mark,

I tried to reproduce the reported behavior but to no avail. Could you please provide more detailed information regarding the specific scenario?
  • Which version of RadControls and .NET Framework are used in the application?
  • Under which browser and its version the problem occurs?
  • Could you please provide the exact steps that need to be executed in order to reproduce the problem?
  • Could you please provide a simple runnable project along with sample content that replicates the issue so we can investigate it further?

Looking forward to hearing from you,
Dobromir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Mark
Top achievements
Rank 2
answered on 07 Oct 2010, 05:22 PM
Sorry I was a bit brief in the previous description.
Telerik version 2010.2.826.35.
Due to browser session restrictions, the user was copying text in FF 3.6.10 to IE 7
Whilst I do have the end result, it's on a client site and I cannot show you. I will investigate further when I have a chance.
Mark Austin
0
Dobromir
Telerik team
answered on 13 Oct 2010, 07:18 AM
Hi Mark,

Unfortunately, I am still unable to reproduce the problem. To be able to provide any further assistance we need reliable steps to reproduce the problem so we can examine in further. Are there any customizations to RadEditor in the application? Could you please open a support ticket and provide a sample project?

Also, I am not quite sure what do you mean by "browser session restriction", could you please elaborate more on the specifications of the scenario?

Kind regards,
Dobromir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Mark
Top achievements
Rank 2
answered on 13 Oct 2010, 10:27 AM
Hello Dobromir,
The web app captures a heading using the RadEditor from a user who is designing a set of questions.
I put this in the db and it is rendered when I show the questionnaire to be answered.

Somehow the following was captured an recorded into the db (from the rad editor). I'm guessing this might have been from a user highlighting and cutting from a rendered web page. If you agree that this is likely to have been the case, then its not a problem with teh control.

(The browser session restrictions is that in a web app if you have two windows open onto the same app the often share the same session id and the app gets confused.)

<

 

style> .RadMenu_Outlook .rmRootGroup { BORDER-LEFT-STYLE: none! important } .tbMultiPart { WIDTH: 400px } .rfdSelectBox { Z-INDEX: 7001 } .RadUpload .ruBrowse { WIDTH: 80px! important; BACKGROUND-REPEAT: repeat-x! important } </style> <link id="RADEDITORSTYLESHEET0" href="../../WebResource.axd?d=DD6dNkzU7VriqfTQT5ofFSPdk3zMQMSZNdeiT5LUTVg0-sYEZ6YxNf2vcaRy0L5bHVZiw90_Rj7dEgkttjVoERc_NE1cSxer0&amp;t=634183400620000000" type="text/css" rel="stylesheet" /> <link id="RADEDITORSTYLESHEET1" href="../styles/SenseiStyle.css" type="text/css" rel="stylesheet" /><strong>Please rate your satisfaction with </strong>

 

0
Dobromir
Telerik team
answered on 18 Oct 2010, 10:47 AM
Hi Mark,

Yes, if the content is copied from a decorated page it is most likely to copy the rendered style tags. Could you please provide a sample project with and  reliable steps to reproduce the problem so we can investigate it further, and if possible, a live URL with of the page where the content is copied from?

Regards,
Dobromir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
Mark
Top achievements
Rank 2
Answers by
Dobromir
Telerik team
Mark
Top achievements
Rank 2
Share this question
or