You want to add a HTML tag in a text field for e.g. display an image inside this field.
SAP Hybris Cloud for Customer
Reproducing the Issue
In this case we will use Accounts WoC as example.
- Go to Customers WOC
- Search for Account ID 123 (123 is an account in the list)
- Open it
- In Overview tab have a text field
- Click on Edit
- Add a HTML tag in this field e.g <img src="https://upload.wikimedia.org/wikipedia/commons/2/25/George_Washington_as_CIC_of_the_Continental_Army_bust.jpg" />
- Nothing is showed
For security reasons the RichTextEditor applies a form of sanitization to the text entered in it so that no malicious text can be entered in it and only Allowlist texts/tags are allowed.
This is a system expected behavior.
HTML Tag; HTML; Image; Text Field Image; Picture , KBA , AP-RC-MOB-UIF , Responsive UI , Problem