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

pasting text into textarea

1 Answer 57 Views
Editor
This is a migrated thread and some comments may be shown as answers.
gerco Koks
Top achievements
Rank 1
gerco Koks asked on 19 Jul 2010, 02:48 PM
Hi,

We use version 2008.3.1314.20 for our application.
I would like to enable the possibility to use CTRL+V to paste clipboard content to an textarea submitted to the editor.
Unfortunatly this results into the following error in a telerik javascript resource (row 10345):

 

var _9c4=new Telerik.Web.UI.Editor.GenericCommand("Paste",this._contentWindow);
var _9c5=this.getSelection().getRange();
var _9c6=Telerik.Web.UI.Editor.Utils.getUniqueID();
if(_9c5.pasteHTML){
_9c5.pasteHTML(" <font id='"+_9c6+"'> </font>"); <-- this is where the error takes place
}else{
this.pasteHtml("<font id='"+_9c6+"'> </font>");
}

The same behaviour is shown when using the demo live examples shipped with this version of the rad controls.
Testing it on the demo's on the telerik site i discovered the using CTRL+V is disabled for the text editor.

Can you please help me out with this problem. Using the attribute unselectable=on is not an option because i want our customers to be able to select the textarea.

 

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 22 Jul 2010, 09:44 AM
Hi Gerco,

At the moment RadEditor does not support the requested paste functionality in textboxes and textareas. We have logged this feature request into our PITS system, and it is in process of research and investigation. I will bring it to the attention of our developers to increase this feature's priority.

In addition, the version that you are using is rather old and it is highly recommended to use the latest version of RadControls (currently RadControls for ASP.NET Q2 2010 ver.2010.2.713).

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
Tags
Editor
Asked by
gerco Koks
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or