Umbraco Tip Tip - Allow the <wbr> tag to be used in the RTE

Thursday, March 22, 2018

The <wbr> (Word Break Opportunity) tag specifies where in a text it would be ok to add a line-break.

Tip: When a word is too long, or you are afraid that the browser will break your lines at the wrong place, you can use the <wbr> element to add word break opportunities.

Sadly, Umbraco's RTE will strip out the <wbr> tag if you put it into directly into the HTML. To fix this, we just need to add it to the allowed list of tags in the tinyMceConfig.config.

Problem solved!

Long URLs can cause overflow issues
Long URLs can cause overflow issues