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

           Summary: Add support for "table" wrapper, to help fix cut+paste
                    bugs in Firefox
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: SyntaxHighlight (GeSHi)
        AssignedTo: [email protected]
        ReportedBy: [email protected]


As described at
http://sourceforge.net/project/shownotes.php?release_id=618638, there is a
"table" type for headers, designed to fix FF's copy+paste badness

The proposed solution is to add a new keyword:  enclose="table" to join "div"
"pre" and others.  In the main class, it would have hooks to:

$geshi->set_header_type(GESHI_HEADER_PRE_TABLE);

Not to add to the discussion going on around Bug 19416
https://bugzilla.wikimedia.org/show_bug.cgi?id=19416 , but this will be yet
another set of presentation code to deal with there.  

As it stands now, this copy+paste bug is a real ugliness in wikibooks for me. 
If some other way of ensuring that unformatted code is selectable is available,
I'd hear it.


-- 
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