从2020年开始阅读了此问题的先前版本后,这个问题似乎又抬起了头。我已经尝试使用我的当前 .5将其用作我的应用程序JSZIP并覆盖PPTXGENJ中的JSZIP。
在IE11(Windows 10)中使用PPTXGENJS时,似乎没有报告任何错误,发生的事情是浏览器警告用户:“您需要一个新的应用程序来打开此Blob链接”。此时,唯一可用的选项是转到“在Microsoft Store中查找应用程序”,而该应用程序没有可用的应用程序。
这对我说的是,pptxgenjs已经完成了工作,并将斑点链接传递给了浏览器,浏览器说我不知道您需要找到一些打开此问题的东西。
我试图在同一Windows 10/IE11设置中运行演示,它们的情况似乎更糟。实时演示没有错误或提供下载应用程序以支持打开BLOB链接的功能。对控制台的React演示错误:Script438:对象不支持属性或方法“ Endswith”。完整的演示库中的基本演示失败了,例如实时演示未返回错误或确认任何内容。
这是一个已知问题吗?还有另一个步骤可以帮助IE11使用Blob链接?还有其他人可以让演示工作,我应该看其他东西吗?任何想法都将不胜感激。
编辑:
抱歉,如果这还不清楚,但是我指的演示是这里找到的pptxgenjs演示: https ://gitbrent.github.io/pptxgenjs/demos/ 因此,专注于名为“ Live Demo”的初始演示,即将运行的代码:https://gist.github.com/gitbrent/84acbcaab54be0eba83f5206ef6ddd95#file-pptxgenjs_demo-js
Running this with all other key browsers such作为Edge,Firefox和Chrome都“下载”生成的文件,而IE11中运行相同的演示会默默失败。
Having read the previous versions of this question from 2020 this issue appears to have reared it's head again. I have tried these demos with my current [email protected] and with jszip 3.1.5 using it as my application jszip and overwriting the jszip within pptxgenjs.
When using pptxgenjs in IE11 (Windows 10) it appears to work in that no errors are reported, what does happen is the browser alerts the user that: "You'll need a new app to open this blob link". The only option that is available at this point is then to go to "Look for an app in the Microsoft Store" of which no apps are available.
What this says to me is that pptxgenjs has done its job and has passed the blob link to the browser and the browser has said I have no clue you'll need to find something to open this.
I've attempted to run the demos in the same Windows 10/IE11 setup and they seem to do worse. the live demo doesn't error or offer the ability to download an app to support opening the blob link. The react demo errors to the console: SCRIPT438: Object doesn't support property or method 'endsWith'. The Basic Demo in the complete library of demos fails like the live demo not returning an error or acknowledging anything.
Is this a known issue? Is there another step to help IE11 with the blob link? Can anyone else get the demos to work and I should be looking at something else? Any thoughts would be appreciated.
Edit:
Apologies if this wasn't clear, but the demos I was referring to were the pptxgenjs demos found here: https://gitbrent.github.io/PptxGenJS/demos/ so focusing on the initial demo named 'Live Demo' the code that is being run is here: https://gist.github.com/gitbrent/84acbcaab54be0eba83f5206ef6ddd95#file-pptxgenjs_demo-js
Running this with all other key browsers such as edge, firefox and chrome all 'download' the generated file whereas running the same demo in IE11 fails silently.
发布评论