SOLVED

Re: Getting the Text Editor to allow a block-level element inside of an <a> tag

Go to solution
Anonymous
Not applicable

Getting the Text Editor to allow a block-level element inside of an <a> tag

I have a similar issue to this post on StackOverflow: html5 - How to configure TinyMCE to allow block-level elements inside anchor (a) tag? - Stack Overfl...

I wish to put divs and other HTML block-level elements inside of a link tag <a>.  The editor is stripping out and correcting syntax that renders in modern browsers.

Can this setting be overwritten in some way to get the behavior I desire?

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: Getting the Text Editor to allow a block-level element inside of an <a> tag

For those struggling with this, I found the markup is simply not allowed.  That being said, I needed my markup to be rendered that way, so I put the content into a Token, then invoked the token on my landing page and used CSS to style it.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Re: Getting the Text Editor to allow a block-level element inside of an <a> tag

For those struggling with this, I found the markup is simply not allowed.  That being said, I needed my markup to be rendered that way, so I put the content into a Token, then invoked the token on my landing page and used CSS to style it.