You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Outlook partners are asking for a way to highlight a portion of a TextBlock. There is currently no way to do so.
Proposed solution
Markdown officially allows html tags. We should allow the use of the standard tag in TextBlock. For instance:
{
"type": "TextBlock",
"text": "This is <mark>highlighted</mark>"
}
would result in the word "highlighted" being, well, highlighted.
The highlight color would have to be configurable in HostConfig as part of container styles. The associated font color for highlighted text would also have to be configurable (given that the highlight essentially changes the text's background color.) It would look like this:
Problem
Outlook partners are asking for a way to highlight a portion of a TextBlock. There is currently no way to do so.
Proposed solution
Markdown officially allows html tags. We should allow the use of the standard tag in TextBlock. For instance:
would result in the word "highlighted" being, well, highlighted.
The highlight color would have to be configurable in HostConfig as part of container styles. The associated font color for highlighted text would also have to be configurable (given that the highlight essentially changes the text's background color.) It would look like this:
Open questions
Alt solution
[Andrew Leader] Mimick what XAML does with RichTextBlock...
This could also be our solution for inline colors, #1079, and inline advanced emojis #1645, and inline actions #865
The text was updated successfully, but these errors were encountered: