Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft Teams images problem #29

Open
nicozanf opened this issue May 16, 2023 · 2 comments
Open

Microsoft Teams images problem #29

nicozanf opened this issue May 16, 2023 · 2 comments

Comments

@nicozanf
Copy link

Hi,
I've spotted a problem with Microsoft Teams images, see here. Practically, using the Team program "COPY" menu on a image, a long single-line string is copied in the clipboard (an <img src="data:image/png;base64> tag). This is not a problem with other programs like MSWORD, that recognize it as an image.
But on Dokuwiki, this append a long unmanageable string on the page. The page is no longer rendered and gives errors until you manually restore it at the Operating System level.

I think that at least the plugin should check that it's a real image before pasting it.

@splitbrain
Copy link
Member

Ahh you gotta love Microsoft. You can always rely on them to invent some non-standard bullshit to make developer's live miserable. As you can see from the linked thread this is not correct behavior on MS Teams' side.

Detecting data URLs in the pasted content shouldn't be too hard. Feel free to hire us at [email protected] if you want this implemented.

@nicozanf
Copy link
Author

Nope, I'm not a big fan of M$ - but I have to work with their products.

There is a simple workaround (take a screenshot or also past it on Word before), but it generates unmanageable pages if you don't know it - or forget it in my case ;-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants