https://bugzilla.wikimedia.org/show_bug.cgi?id=38724

       Web browser: ---
             Bug #: 38724
           Summary: VisualEditor: Automatically use "smart quotes" and
                    convert other typing to more advance characters (as an
                    option)
           Product: VisualEditor
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: ContentEditable
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


>From user suggestion, along the lines of how Microsoft Word works.

This would involve a number of language-specific substitutions (and probably
some shared ones); for English, I believe it would at least involve:

* If a user types the character string 'foo "bar', on the pressing of the 'b'
it would convert the '"' character to a an “.
* If a user types the '"' character whilst in a string that has an “ in
it earlier, convert the character to an ”.
* If a user types in ' - ', on the pressing of the space character after the
hyphen, covert the hyphen to an &endash;.
* If a user types in ' -- ', on the pressing of the space character after the
second hyphen, covert the two hyphens into one &emdash;.

Worth considering as a nice to have; this would probably want to be both
site-configurable (is it available at all; if yes, is it default-on), and
user-configurable.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to