In contenteditable div, in IE text like "http://blablabla", "www.blablabla", "bla@blabla" and so on automatically transforms into hyperlinks http://blablabla, www.blablabla, bla@blabla. How can I avoid this?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Unfortunately, there is no cross-version solution. In IE9 there is opportunity, allowing to disable automatic hyperlinking:
document.execCommand("AutoUrlDetect", false, false);
More information: http://msdn.microsoft.com, http://bytes.com