You can make the rich text editor read only in the properties window – Appearance tab – Editable property.
For anyone looking for a solution to this problem, I find that the HTML element widget solves this problem better, because it just shows the generated html without any additions.
Hi
You can use format string widget to display formatted text
https://marketplace.mendix.com/link/component/264
Hi
You can use text template widget to display html. It’s really very useful.
Please ensure that the Escape HTML was switched to No.