Umbraco Tip Allow the <wbr /> Tag to Be Used in the Rte

The problem#

Take a look at the below image, see how the link text runs outside of box. Awful isn’t it!

dd

The solution#

The rarely known <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 default text editor will strip out the 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 file.

Problem solved!