


contenteditable input URL problem. Waiting online. . _html/css_WEB-ITnose
contenteditable URL contenteditable URL hyperlink
Come to the rescue.After adding contenteditable="true" to the html element attribute
How to control the input of content like www.baidu.com
Prevent it from automatically becoming a hyperlink! ! !
Reply to discussion (solution)
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>
Thank you so much. . I had thought before that there should be such a command, but I couldn't find it in the documentation.
I also hope you can give the document path of command identifiers.
I have tested it in IE and Chrome Firefox.
Strongly tell me where you saw command identifiers
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>
Thank you so much. . I had thought before that there should be such a command, but I couldn't find it in the documentation.
I also hope you can give the document path of command identifiers.
I have tested it in IE and Chrome Firefox.
Strongly tell me where you saw command identifiers
msdn: http://msdn.microsoft.com/en-us/library/aa769893(v=vs.85).aspx
stackoverflow.com: http://stackoverflow.com/questions/7556007/avoid-transformation-text-to-link-ie-contenteditable-mode
Not in ie Test next
window.onload=function(){document.execCommand("AutoUrlDetect", false, false);}</script>
Thank you so much. . I had thought before that there should be such a command, but I couldn't find it in the documentation.
I also hope you can give the document path of command identifiers.
I have tested it in IE and Chrome Firefox.
Strongly tell me where you saw command identifiers
msdn: http://msdn.microsoft.com/en-us/library/aa769893(v=vs.85).aspx
stackoverflow.com: http://stackoverflow.com/questions/7556007/avoid-transformation-text-to-link-ie-contenteditable-mode
Why is it that if I use it like this, it will prompt that the parameter is invalid?
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

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The official account web page update cache, this thing is simple and simple, and it is complicated enough to drink a pot of it. You worked hard to update the official account article, but the user still opened the old version. Who can bear the taste? In this article, let’s take a look at the twists and turns behind this and how to solve this problem gracefully. After reading it, you can easily deal with various caching problems, allowing your users to always experience the freshest content. Let’s talk about the basics first. To put it bluntly, in order to improve access speed, the browser or server stores some static resources (such as pictures, CSS, JS) or page content. Next time you access it, you can directly retrieve it from the cache without having to download it again, and it is naturally fast. But this thing is also a double-edged sword. The new version is online,

The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

This article demonstrates efficient PNG border addition to webpages using CSS. It argues that CSS offers superior performance compared to JavaScript or libraries, detailing how to adjust border width, style, and color for subtle or prominent effect

The article discusses the HTML <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

This article explains the HTML5 <time> element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit

The article discusses the HTML <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati

The article discusses the HTML <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex
