-
-
Notifications
You must be signed in to change notification settings - Fork 616
Support cascading styles #437
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
Comments
@psegalen Not at the moment! Cascading styles are complex and not yet supported. It could be a feature of a future release though! With the foundry refactor, that might be more feasible. |
Thanks for the quick answer! |
@psegalen If you don't want to specify the font style with the name, and instead use |
Thanks a lot @jsamr, I'll dig into it! |
Thanks again @jsamr, with a little more work it solves my problem! Basically, the problem was coming from the fact that Android did not support applying |
Okay, it worked until it was deployed on the store beta program... :'( |
Tracking this library as candidate to build the feature https://github.com/fb55/css-select |
CSS sheets will never be supported per se, because parsing requires creating a syntax tree, which requires a third party library and would most certainly add a lot of overhead. However, I opened a feature request in our new Canny to convert CSS stylesheets to react-native-render-html compatible code. You can upvote this feature here.. Closing now as feature requests are now handled in this Canny! |
To use XML Fonts, check out this guide: https://stackoverflow.com/a/70247374/2779871 |
How to do it with expo? |
@vishva-shukla, For android you can use this package: https://github.com/Armster15/expo-xml-font Any ideas? |
Hello, I haven't found anywhere any pointer about this particular issue yet: in the HTML code I receive from the server I sometimes have things like that
<i><strong>Text</strong></i>
Problem, I have a custom font throughout the app and I haven't found a way yet through
tagsStyles
to specify a thing like:Is it event possible?
The text was updated successfully, but these errors were encountered: