BillyRayPreachersSon
Programmer
Hi,
I have a problem when using the "contentEditable" feature of IE.
Here's a simple test harness I have built:
My problem is this. If you run the above code, and type " into the box, and then type a space (" "), it auto-detects the URL, and underlines and colourises ("colorizes"
) it.
My question is: How can I stop this from happening? I cannot work out how to stop it, or even how to detect it (so I can manually run an "unlink" command).
I'm using IE6 on Win XP Pro, but I think it would happen on IE5.5+.
Thanks in advance!
Dan
I have a problem when using the "contentEditable" feature of IE.
Here's a simple test harness I have built:
Code:
<html>
<body onload="document.getElementById('myDiv').focus();">
<div contenteditable="true" id="myDiv" style="width:300px; height:100px; border:1px solid #000000; padding:10px;"></div>
</body>
</html>
My problem is this. If you run the above code, and type " into the box, and then type a space (" "), it auto-detects the URL, and underlines and colourises ("colorizes"
My question is: How can I stop this from happening? I cannot work out how to stop it, or even how to detect it (so I can manually run an "unlink" command).
I'm using IE6 on Win XP Pro, but I think it would happen on IE5.5+.
Thanks in advance!
Dan