Post

Replies

Boosts

Views

Activity

Default Hyperlink Tag (<a>) Apple News Format
Is there a way to give a default text color to tags in apple news format. I'm testing this in Apple News Preview currently, and I can't figure out what's wrong. According to the documentation, I should be able to style the tag using "default-tag-a" https://developer.apple.com/documentation/apple_news/apple_news_format/components/using_html_with_apple_news_format#2992870 However, this doesn't appear to work. It works perfectly when I do paragraph tags like "default-tag-p" or span tags like "default-tag-span". Maybe, I'm missing something. Here is my code "textStyles": { "default-tag-a": { "textColor": "#1967d2" } } when I add a font like "textStyles": { "default-tag-a": { "fontName": "Georgia", "textColor": "#1967d2" } } This does change the font. So i'm wondering can I change the text color for links in apple news? and if so, how? Thanks for your assistance.
0
0
175
Jun ’24