Re: copy in WebView
Re: copy in WebView
- Subject: Re: copy in WebView
- From: Kyle Sluder <email@hidden>
- Date: Thu, 11 Oct 2012 10:11:30 -0700
On Oct 11, 2012, at 10:00 AM, "Gerriet M. Denkmann" <email@hidden> wrote:
>
> On 11 Oct 2012, at 23:45, Kyle Sluder <email@hidden> wrote:
>
>> On Oct 11, 2012, at 8:26 AM, "Gerriet M. Denkmann" <email@hidden> wrote:
>>
>>> I have a WebView which displays text which contains some invisible characters (like ZERO WIDTH SPACE).
>>> When I use Edit→Copy these characters are also put on the pasteboard.
>>>
>>> But this does not make sense. The pasteboard should contain the selected text without these invisible characters.
>>
>> I challenge this statement. The user selected those characters. They should therefore be copied.
>
> Ok. New version:
> This generally makes sense. But in my special case the pasteboard should contain the selected text without these invisible characters.
Can you inject a JavaScript into the page that strips the characters before putting them on the pasteboard?
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden