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

Firefox 浏览器默认编辑器无法从剪切板粘贴图片文件 #6684

Open
Sleepstars opened this issue Sep 20, 2024 · 0 comments
Open

Comments

@Sleepstars
Copy link

系统信息

使用的哪种方式运行?

Docker

发生了什么?

使用第三方截图工具(例如 Pixpin)可以将截图复制为文件,为了减少图像格式转换的步骤,赋值为文件可以直接导出 WebP 格式的图片。
图片

如果不开启复制为文件功能,则可以正常直接将剪贴板图像复制进文章(默认编辑器),若开启复制为文件功能后,粘贴即失效。
(其实有更简单的复现方法,文件夹直接复制图片文件,也无法直接粘贴进文章)

仅在 FireFox 浏览器中复现,已实测 Edge 等 Chromium 系浏览器中可以正常复制为 WebP 图像。

复现步骤

  1. 使用第三方截图工具
  2. 复制图片为文件
  3. 在 Firefox 浏览器中的默认编辑器粘贴
  4. 对粘贴行为无响应
  5. 附件中也可见无相关图像保存

相关日志输出

No response

附加信息

No response

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

1 participant