Changes between Initial Version and Version 1 of Ticket #11526, comment 3


Ignore:
Timestamp:
Feb 3, 2014, 12:47:39 PM (11 years ago)
Author:
Piotr Jasiun
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11526, comment 3

    initial v1  
    4040Like for Paint D&D is not possible.
    4141
    42 = Chrome - Drag & Drop =
    43 Tested with version 32.
     42= Blink - Drag & Drop =
     43Tested with Chrome (version 32) and Opera (version 19).
     44
    4445===== HTML from outside of editable area
    4546Data in two types:
     
    6061Data in `text/plain`.
    6162===== 2 images from system file browser
    62 Three items:
     63'''Chrome''': Three items:
    6364- `text/uri-list` with file paths
    6465- 2 files.
    6566
    66 If I let chrome do native D&D I get:
     67If I let Chrome do native D&D I get:
    6768{{{
    6869<a href="file:///E:/Pictures/testing%20images/butterfly.jpg">file:///E:/Pictures/testing%20images/butterfly.jpg</a>
    6970}}}
     71
     72'''Opera''': Two file items.
     73
     74If I let Opera do native D&D browsers loaded page change to
     75{{{
     76file:///C:/Users/Public/Pictures/Sample%20Pictures/Tulips.jpg
     77}}}
     78
    7079===== 2 text files from system file browser
    7180As above.
     
    115124}}}
    116125
    117 If I try native D&D I get no image and error:
     126If I try native D&D (both `ondrop` and `ondragover` events are not canceled) I get no image and error:
    118127{{{
    119128Not allowed to load local resource: file:///C:/Users/pjasiun/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg
     
    127136
    128137
    129 == Chorme - Copy & paste ==
     138== Blink - Copy & paste ==
    130139For Copy and Paste `Clipboard` object is available as `evt.clipboardData`, not `evt.dataTranfer`.
    131140
     
    168177- `text/plain`,
    169178- `text/rtf`.
     179
     180Using native paste plain text data is inserted.
    170181
    171182By the way: in Chrome exists additional method of `DataTransferItem`: `webkitGetAsEntry` next to the standard `getAsFile` and `getAsString`.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy