Closed amercier closed 8 years ago
Possible fix suggestion.
I also +1 for firefox compatibility. I'm a long-time user of Joel's PasteBoard, back when it was called PasteShack. That original javascript DID work fine with Firefox, but then broke one day when FireFox decided to change how it accessed the clipboard.
This is the original workaround for getting PasteShack to work with Firefox:
This commenter created a jQuery plugin that DOES work with firefox, so maybe you can snarf his code
Also +1 for FF! I have tested the JQuery but without success to work with dokuwiki :(
Suggestion at the old DokuWiki issue tracker FS#2865 for an uploader : https://github.com/FineUploader/fine-uploader Javascript solution, that suggest to be cross browser.
I would prefer browser independence like it is the case with FineUploader.
From Firefox 50 onwards, this should be fixable or actually fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=891247 https://bugzilla.mozilla.org/show_bug.cgi?id=906420
After briefly looking at the code, I would guess it may just work(TM) from FF50 onwards.
Ok, I tested this with FF50 beta 7 on Windows 8.1 and the 2012 release of dokuwiki and it works!
That would be a great enhancement to make it work on Firefox. I think this is definitely possible. PasteBoard is doing it (see https://github.com/JoelBesada/pasteboard/blob/master/assets/js/modules/copyandpaste.coffee for details) so I think this is definitely possible.