-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
On Firefox: diagrams feature enabled - fails #310
Comments
- Upgrade to asciidoctor-kroki v0.3.0 ** Catch all exceptions when reading a file (because Firefox does not allow to read file from file:// protocol for security reasons) ** Remove rusha from the bundle (because for whatever reason, it does not work on Firefox) - Load kroki.js before the renderer.js (order matters on Firefox)
Hi @mbeckerle I can reproduce this issue. Could you please consider editing your review on the Firefox Add-ons ? Thanks |
Deleted the bad review. When I can reinstall this plug in and it works again I will post 5 stars.
This is fantastically responsive. Much appreciated.
…-mike
________________________________
From: Guillaume Grossetie <[email protected]>
Sent: Wednesday, November 6, 2019 4:08 AM
To: asciidoctor/asciidoctor-browser-extension <[email protected]>
Cc: Beckerle, Mike <[email protected]>; Mention <[email protected]>
Subject: Re: [asciidoctor/asciidoctor-browser-extension] On Firefox: diagrams feature enabled - fails (#310)
Hi @mbeckerle<https://github.com/mbeckerle>
I can reproduce this issue.
There were some specific issues with Firefox.
It should be fixed in #311<#311>
Could you please consider editing your review on the Firefox Add-ons ?
I don't think the extension deserves a 1/5 stars because a feature is not working at a given time on a specific browser: https://addons.mozilla.org/fr/firefox/addon/asciidoctorjs-live-preview/reviews/?score=1
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#310?email_source=notifications&email_token=AALUDAYS6JHB47Y6IQUHRWDQSKCRRA5CNFSM4JJOMPL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDF2A5I#issuecomment-550215797>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AALUDA7HBONCQTRLLNGY7HLQSKCRRANCNFSM4JJOMPLQ>.
|
Thanks for reconsidering your review 👍 I'm making sure it's working on Chrome and Opera as well. Hopefully I will release a new version at the end of this week. |
* resolves #310 fix Kroki on Firefox - Upgrade to asciidoctor-kroki v0.3.0 ** Catch all exceptions when reading a file (because Firefox does not allow to read file from file:// protocol for security reasons) ** Remove rusha from the bundle (because for whatever reason, it does not work on Firefox) - Load kroki.js before the renderer.js (order matters on Firefox) * Upgrade Kroki extension to 0.4.0 * Forcibly remove the kroki-fetch-diagram attribute Because this feature is not supported in a browser environment.
I've published a new version 2.3.1. If you don't want to wait, you can install the xpi:
Please note that for security reasons the following syntax does not work on Firefox:
See: #302 |
Version 2.3.1 is now available on the Firefox Add-ons website: https://addons.mozilla.org/firefox/addon/asciidoctorjs-live-preview/ @mbeckerle Could you please confirm that this issue is fixed? |
Alas does not work for me. I installed, checked the box in preferences for allowing diagrams. Then view a file URL of an asciidoc file I have with diagrams in it. I get: Error |
It says version 2.3.1. |
Ah, a restart of Firefox, and now it is working. |
Great 👌 |
Version 2.3.0
Firefox version 70.0.1 (64-bit)
If I install as a firefox add-on/extension, then I enable the diagrams feature by checking the box in the preferences/settings for this extension. Then when I try to view an asciidoc page that has a diagram, I get "Error
ReferenceError : AsciidoctorKroki is not defined"
This same thing viewing the same file, works fine on Chrome.
The text was updated successfully, but these errors were encountered: