Changes between Initial Version and Version 1 of Ticket #11526, comment 3
- Timestamp:
- Feb 3, 2014, 12:47:39 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11526, comment 3
initial v1 40 40 Like for Paint D&D is not possible. 41 41 42 = Chrome - Drag & Drop = 43 Tested with version 32. 42 = Blink - Drag & Drop = 43 Tested with Chrome (version 32) and Opera (version 19). 44 44 45 ===== HTML from outside of editable area 45 46 Data in two types: … … 60 61 Data in `text/plain`. 61 62 ===== 2 images from system file browser 62 Three items:63 '''Chrome''': Three items: 63 64 - `text/uri-list` with file paths 64 65 - 2 files. 65 66 66 If I let chrome do native D&D I get:67 If I let Chrome do native D&D I get: 67 68 {{{ 68 69 <a href="file:///E:/Pictures/testing%20images/butterfly.jpg">file:///E:/Pictures/testing%20images/butterfly.jpg</a> 69 70 }}} 71 72 '''Opera''': Two file items. 73 74 If I let Opera do native D&D browsers loaded page change to 75 {{{ 76 file:///C:/Users/Public/Pictures/Sample%20Pictures/Tulips.jpg 77 }}} 78 70 79 ===== 2 text files from system file browser 71 80 As above. … … 115 124 }}} 116 125 117 If I try native D&D I get no image and error:126 If I try native D&D (both `ondrop` and `ondragover` events are not canceled) I get no image and error: 118 127 {{{ 119 128 Not allowed to load local resource: file:///C:/Users/pjasiun/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg … … 127 136 128 137 129 == Chorme- Copy & paste ==138 == Blink - Copy & paste == 130 139 For Copy and Paste `Clipboard` object is available as `evt.clipboardData`, not `evt.dataTranfer`. 131 140 … … 168 177 - `text/plain`, 169 178 - `text/rtf`. 179 180 Using native paste plain text data is inserted. 170 181 171 182 By the way: in Chrome exists additional method of `DataTransferItem`: `webkitGetAsEntry` next to the standard `getAsFile` and `getAsString`.