Coder Social home page Coder Social logo

Comments (6)

likaia avatar likaia commented on August 23, 2024 1

Hello @MQpeng. Your feedback has been received, and you will be notified in the issue area when the problem is resolved.
你好 @MQpeng,已收到你反馈的问题,问题解决后将在issue区域通知你。

from js-screen-shot.

likaia avatar likaia commented on August 23, 2024

Version of js-screen-shot

1.9.9-rc.18

Operating system and its version

No response

Browser and its version

No response

Sandbox to reproduce

No response

What happened?

页面存在iframe的话,iframe区域会空白,好像是html2canvas需要额外传入iframe的body

报错信息

No response

html2canvas支持iframe了吗?

from js-screen-shot.

MQpeng avatar MQpeng commented on August 23, 2024

html2canvas支持iframe了吗?

目前只找到这个方案,没有进行实际测试
niklasvh/html2canvas#3095 (comment)

from js-screen-shot.

superlvming avatar superlvming commented on August 23, 2024

hello, 为了解决无法截取 iframe 内容的问题,我设置了 screenShotDom,但是这样就会导致截图的时候左侧出现 screenShotDom 的预览图!请问是否有办法隐藏该预览图?

Snipaste_2024-06-13_18-12-19

from js-screen-shot.

likaia avatar likaia commented on August 23, 2024

html2canvas支持iframe了吗?

目前只找到这个方案,没有进行实际测试 niklasvh/html2canvas#3095 (comment)

辛苦你帮忙测测,如果能成的话,我就集成进去

from js-screen-shot.

likaia avatar likaia commented on August 23, 2024

hello, 为了解决无法截取 iframe 内容的问题,我设置了 screenShotDom,但是这样就会导致截图的时候左侧出现 screenShotDom 的预览图!请问是否有办法隐藏该预览图?

Snipaste_2024-06-13_18-12-19

试一下这个思路:在截图响应回调函数里,把这个预览dom隐藏?

from js-screen-shot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.