[Webkit-unassigned] [Bug 29732] Please add a way to disable smart copy/paste in some editable areas

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 25 23:55:37 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29732


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Normal                      |Enhancement
         OS/Version|Windows XP                  |All
     Ever Confirmed|0                           |1
            Summary|Double click on a text      |Please add a way to disable
                   |(word) + copy + paste       |smart copy/paste in some
                   |inserts additional space(s) |editable areas
           Platform|PC                          |All
             Status|UNCONFIRMED                 |NEW
           Priority|P2                          |P3




--- Comment #7 from Alexey Proskuryakov <ap at webkit.org>  2009-09-25 23:55:37 PDT ---
I agree that for editing source code, smart copy/paste is generally
inappropriate. There are likely ways to work around this - you could
programmatically re-select the text before copying, making the engine forget
that the selection originated from double-clicking. You could consider using
onselect, or onbeforecopy/onbeforecut WebKit extensions.

Perhaps a more direct solution that doesn't involve JavaScript could be added,
so I'm re-titling the bug to be an enhancement request for such.

We already have a way for applications embedding WebKit to completely disable
smart copy and paste (and smart delete, for that matter, and also similar drag
and drop behaviors), so it is a policy decision for any browser, and you can
contact a browser vendor if you want this policy changed. It's only potential
selective behavior that enables web pages to easily make the decision that's in
scope for WebKit.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list