nmrium
nmrium copied to clipboard
ClipboardItems and multiple mimetypes ?
When copying an image to clipboard are we able to copy directly the png AND the svg ?
It seems that when pasting in Adobe Illustrator the SVG would be extracted and there is an issue so that it can also be done using InkScape.
Hopefully some other applications would take the SVG if they know what to do with it.
@hamed-musallam Is it possible to test that ?
@lpatiny
In theory, testing this seems possible, and we could follow these steps to accomplish it:
- Set up an account at Adobe Illustrator (which is not for free) or another online free software.
- Use Playwright to create a test script with two pages.
- Simulate copying and pasting the SVG from the NMRium page to the SVG render software page.
- Capture snapshots of the SVG renders.
- Compare the snapshots to ensure accurate SVG rendering.