enricoros / big-AGI

Generative AI suite powered by state-of-the-art models and providing advanced AI/AGI functions. It features AI personas, AGI functions, multi-model chats, text-to-image, voice, response streaming, code highlighting and execution, PDF import, presets for developers, much more. Deploy on-prem or in the cloud.

Home Page:https://big-agi.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pasting from Excel pastes Image

enricoros opened this issue · comments

When pasting from Excel, the Image part takes precedence over the Html (which would be turned into a nice markdown table) or Text

I am interested in working on this issue.
May I understand what exactly is being copied from excel?

Are you able to assign this one to yourself?

What happens is that when copying from apps, the clipboard has many formats inside. There's text/html, text/plain,... and image/png or something.

Need to make sure the right format is used, and not a picture.

I am interested in working on this issue. May I understand what exactly is being copied from excel?

Thanks @Just-A-Pixel for working on this issue. It was raised by me to @enricoros ...
Do you understand what the problems is.. . I can explain it if you want to :)

Fixed on main, NOTES BELOW

Application relation change:

  • Excel (tested on windows): pastes table instead of images
  • Word: pastes text (ctrl+v) or attaches text+html (shift+ctrl+v, paste button)
  • Powerpoint: ctrl+v pastes text as text, and non-text as image

Paste behavior change

Action Former behavior Now
CTRL+V paste image Paste table as text
Shift+Ctrl+V paste image Attach Table as Markdown
"Paste" Button paste image Attach Table as Markdown

I appreciate the prompt resolution. The level of developer engagement and the pace of development observed in this GitHub repository are unparalleled in my experience. Thank you.
Shall i Close the issue ✅.

Yep, issue closed (I put "Fixes #286" in the git commit title, which tells GitHub to auto-close. Magic :)