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
Boxes around blocks when using group block. #2
Comments
@nickhamze replace P.S. One big pro of the |
@nickhamze can you share the "Block Shot"? |
Based on the source code |
Hmm, I hate going back and forth but HTML2canvas provided better screenshots IMO. I found this line of CSS and I think I found the real culprit with html2canvas
It looks like from the documentation that they only support solid border style. That is why the lines are solid but dashed in the other script: It looks like you can have html2canvas add CSS just to their rendered version. Could we do this: |
@nickhamze reverted code to use html2canvas again. Added minor fix, but sometimes I still get a blue border around image block (when grouped). Unfortunately, border styling is added via pseudo-elements ( |
I think I found a workaround. If you put it into spotlight mode I don't get any borders. However there is an opacity issue, didn't know if that was something we could override.
|
ok, let's put this one on hold and come back to it later. This is getting frustrating :) . |
@nickhamze I think I fixed this (with a tiny dirty hack). Try again in a non-"Spotlight" mode. |
Wow, it works. I'll work on the readme but I think it's ready to submit unless you have something else to add. Thanks for not giving up like I did :) . |
Nothing that comes to my mind right now. We can come back to this issue once a new version of html2canvas is released. |
Boxes around blocks when using group block.
The text was updated successfully, but these errors were encountered: