Home >Web Front-end >HTML Tutorial >contenteditable input URL problem. Waiting online. . _html/css_WEB-ITnose
contenteditable URL contenteditable URL hyperlink
Come to the rescue. html element attributes
re: What element is used for
?
uses body. If you can use other elements to solve this problem, it is also possible. It does not have to be body
html element attribute
re:
What element is used?
Use body. If you can use other elements to solve this problem, it is also possible. It does not have to be body.
Use designMode instead.
Use designMode instead.
Why didn’t I find it turned into a connection?
Use designMode instead to implement
Why didn’t I notice it turned into a connection?
In IE Next time
switch to the designMode method to implement
editDocument.designMode = "on";
editing can be achieved, but entering www.baidu.com will still become a hyperlink.
Use designMode instead to implement it
Why didn’t I find that it turned into a connection?
It does in IE.
What should I do? Is there any way to intercept it and prevent it from automatically converting it for me? I can look at the Baidu Tieba and enter the URL or something.
Not tested under IE
window.onload=function(){document.execCommand("AutoUrlDetect", false, false);}</script>
Not tested under IE
window.onload=function(){document.execCommand("AutoUrlDetect", false, false);}</script>
document.execCommand("AutoUrlDetect", false, false); Valid
I have not seen it in the command of execCommand
Not tested in IE
window.onload=function(){document.execCommand("AutoUrlDetect", false, false);}</script>
Not in ie Test next
window.onload=function(){document.execCommand("AutoUrlDetect", false, false);}</script>
The parameter is invalid. Oh my god, how can I change the question sheet?
Unfortunately, there is no cross-version solution. In IE9 there is opportunity, allowing to disable automatic hyperlinking