views:

75

answers:

1

Hi,
When i paste any text in any element with 'contentEditable' flag enabled, IE automatically finds the hyperlinks or email address and replaces them with

<a href="hyperlink">hyperlink</a>.

How can i disable this automatic url detection for elements(e.g. div, span etc.) with 'contentEditable' flag in IE or aleast get the actual text that was pasted in the div.

Best Regards,
Keshav

+1  A: 

I don't think you can. You'll need catch the paste event and set a brief timer that calls a function that removes links.

Tim Down