[Bug 13807] New: Allow user-typed URLs to automatically become links

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13807

           Summary: Allow user-typed URLs to automatically become links
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: HTML Editing APIs
        AssignedTo: ayg@aryeh.name
        ReportedBy: ayg@aryeh.name
         QAContact: sideshowbarker+html-editing-api@gmail.com
                CC: mike@w3.org, public-webapps@w3.org


Suggested by Alfonso Martínez de Lizarrondo:
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-August/032941.html


Users expect autolinking; it should probably happen by default, but with a way
to disable it.  Reportedly IE supports it, and also since IE9 supports a way to
disable it.  Needs research to figure out what the exact algorithm is to decide
when to add a link, and what to link:

* What schemes do we recognize?
* What characters do we treat as terminating the URL?
* What if the user edits some existing text so it now looks like a URL?
* What if the user pastes a large chunk of text that contains some URLs?
* If we autolink something and the user backspaces to kill the link, how do we
remember not to relink it when the user types more?

This might be why IE is the only browser to support unlinking when the user
backspaces: it's the only one to autolink.  Otherwise autolinking would be
pretty annoying.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 17 August 2011 15:15:22 UTC