Open thuethe opened 1 year ago
Hello @thuethe,
Could you describe your use case in more detail and give us an example of how this should look in the application(screenshot). While reading the UX guidelines I've stumbled upon the following recommendations:
"Use the formatted text control to:
Do not use the formatted text control to:
According to your description you could potentially use the sap.m.ObjectStatus control, in order to highlight (give a semantic meaning) to a part of a given text.
Please have a look at the following sample: https://ui5.sap.com/#/entity/sap.m.ObjectStatus/sample/sap.m.sample.ObjectStatus There is a section for indication colors.
Best regards, Boyan
Hello @unazko ,
I can imagine many use cases. My concrete example would be a text in which I want to highlight a search result in color. See screenshot:
But useful use cases can also be found for the other tags I listed.
Best regards
Hello @thuethe,
Thank you for sharing your enhancement proposal. I've created an internal incident 2370037041. The status of the issue will be updated here in GitHub.
Regards, Yana
Is there a reason why
sap.m.FormattedText
is limited to just this set of HTML tags? Would there be anything against extending it with the following tags, especiallymark
?ins
small
q
dfn
time
var
samp
kbd
sub
sup
mark
wbr