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
Post a Comment