Skip to content

Allow for pasting and dropping images into the status composer

Joshua Goins requested to merge work/redstrate/better-image-copy-paste into master

I've been wanting this for a while, and finally stole wrote the necessary stuff to make it happen. Instead of selecting files manually (which get their own improvements in !318 (merged)) there are now two new ways to bring media into Tokodon:

  • Dragging and dropping it into the composer. It'll work anywhere inside of the page, not just the text area!
    • It also supports dragging multiple images into it, but it might be hard to test until the bugfix in !318 (merged) is merged.
  • You can paste images from applications like Gwenview or Krita, instead of some useless file:// URL.

Merge request reports