Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
Thanks for sharing, you should be able to mark your own post as answered to help other community users :)
Just discovered that the TinyMCE editor was stripping all a tags that were wrapped around div tags.
For example, the markup below is intended to allow the visitor to click anywhere in the div and be taken to 'somepage'.
But when you go to the editor the outer a tag is silently removed - even before switching to HTML edit mode.
The solution:
I added valid_children to the TinyMCEPluginNonVisual options
[TinyMCEPluginNonVisual(AlwaysEnabled = true, ServerSideOnly = true,
EditorInitConfigurationOptions = "{extended_valid_elements: 'section[*],&[*],i[*],div[*],a[*],iframe[src|frameborder=0|scrolling=no|alt|title|width|height|align|name],container[*]', forced_root_block : '', valid_children : '+a[div|img]'}"
)]
public class TinyMCE
{
}
... and in the web.config file: