Michael Cruden
 · Seamless Technology Integration

Issues with the HTML View widget and light/dark mode theme

I just disabled the dark mode theme for my project after running into a few display related issues. I am pulling posts from a WordPress site and displaying them using an API call. I have the info on the page using the list view widget.

There is an existing app I am working to replace. To start, I am trying to recreate the app as closely as possible. Which in this area is dark text on a white bg. However, it didn't matter in either light or dark mode, I was having issues with the text not being visible. It was only when I disabled the color scheme did it appear correctly, it appears to inherit the Primary Text color.

Is it possible to control the color of text shown in HTML View?

Possibly you could set a variable and prefix the HTML snippet with <div style="font-color=white;">$.variablename<div>

I also have a title that I want to display on a custom bg (secondary color) which I have setup. however if I use HTML view, I can't modify that color - shows as primary text which is black & I want to use white. for this part, I could display it as text, but I need to convert the encoded characters to display as a string.

Is there a way to convert a string that comes in like this to text?

Current text output: Title text &#8211; text continues
Desired output: Title text – text continues

Edit - May have found a solution using a custom function. Still looking for options.
https://community.flutterflow.io/database-and-apis/post/help-my-api-response-is-html-encoded-v8cy1qzxhEkGV5N

1
2 replies