-
-
Notifications
You must be signed in to change notification settings - Fork 596
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
Support inline images #428
Comments
@kl1703222 Currently, inline images are not supported. Any embedded or block will be hoisted to a new View and break the text flow. This was originally because RN didn't support nesting Views inside Text nodes. It is now possible, but with some limitations and prone to bugs. We might add a way in a forthcoming release to whitelist tags which can be embedded in Text nodes. Known issues regarding inline contents so far:
My feeling is that, theoretically RN now supports nested Views and other blocks inside Text, but there are probably still a lot of undiscovered issues. |
|
Closing now since the stable beta which fixes this issue has just been released. |
I want to display the icon in the middle of the text, for example below:
![a](https://user-images.githubusercontent.com/58561076/98535085-1a917800-22b8-11eb-92ad-6d143fc6d0eb.png)
![Screen Shot 2020-11-09 at 18 20 48](https://user-images.githubusercontent.com/58561076/98535272-65ab8b00-22b8-11eb-8f51-de69854d77d3.png)
but in my mobile device using it displays the wrong size and not in the same line:
my code:
How can I display images between lines of text?
The text was updated successfully, but these errors were encountered: