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

c++ - Linked List error when inserting for the last time -

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

tsql - Pivot with Temp Table (definition for column must include data type) -- SQL Server 2008 -