I have a list of items, and for each of which I'm using RichText to display a summary of the item's HTML description. the HTML of course can contain some img tags but I'm only interested in displaying a text description.
Currently, with the release of 1.0-rc06 that added support to image loading I'm not able to use RichText composable anymore as it breaks my item layout, and I can't find a way to tell it to ignore any img tags it encounters and just renders text the same as before, So, I'm suggesting to add a new parameter or a flag to RichTextState or the RichText composable that would allow the caller to explicitly ignore/skip images if he wants to.
I have a list of items, and for each of which I'm using
RichText
to display a summary of the item's HTML description. the HTML of course can contain someimg
tags but I'm only interested in displaying a text description.Currently, with the release of 1.0-rc06 that added support to image loading I'm not able to use
RichText
composable anymore as it breaks my item layout, and I can't find a way to tell it to ignore any img tags it encounters and just renders text the same as before, So, I'm suggesting to add a new parameter or a flag toRichTextState
or theRichText
composable that would allow the caller to explicitly ignore/skip images if he wants to.