javascript - How to configure TinyMCE to allow a block-level elements inside anchor tags? -


here scenario; want able create content like:

<div class="a">     <a href="someurl"><img src="somepic"></a> </div> 

however tinymce strips

<div class="a">     <img src="somepic"> </div> 

thanks!

i resolved with: convert_urls : false, remove_script_host : false, verify_html: false, valid_children : "+a[div|h1|h2|h3|h4|h5|h6|p|#text]",

:)


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -