-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
font[inline] #649
Comments
I decided that it is easier task, than others and try to do this! I have a question - is it okay, that boxwood can't works with inline style tag which contains links on local files? When I try to use |
@inikonorov it should handle this case correctly, here's a test: https://github.com/buxlabs/boxwood/blob/master/test/spec/tags/style/inline.spec.js you need to specify a |
okay, thanks! |
hmm, I write code, that turns file url to base64, but there is a problem - base64 string is not correct. When I try to put |
@inikonorov thanks for looking into this :). I had a similar problem when I was implementing something similar. I think you can just reuse some of the existing code for this. Inside of |
@inikonorov thanks! |
We'd like to add inlining support for font tags too. This behavior is already implemented for
<style inline
tags and can potentially be reused for this new use case.Some related code can be found here https://github.com/buxlabs/boxwood/blob/master/src/plugins/InlinePlugin.js#L54
This way, the following code:
should be transformed into a style tag, that has a base64 representation of the font.
The text was updated successfully, but these errors were encountered: