Joomla 3.9.16 / JCE Editor 2.8.11
The following code works and is what I want (a whole module DIV link):
<a style="display: block;" href="https://www.joomlacontenteditor.net/index.php?option=com_content&view=article&id=39&Itemid=536">
<div class="projhover">
<h3>Aged Care</h3>
<ul>
<li>Churches of Christ</li>
<li>Holy Spirit Aged Care</li>
</ul>
</div></a>
Upon saving it gets stripped to (individual list item links):
<p><a style="display: block;" href="https://www.joomlacontenteditor.net/index.php?option=com_content&view=article&id=39&Itemid=536"></a></p>
<div class="projhover">
<h3><a style="display: block;" href="https://www.joomlacontenteditor.net/index.php?option=com_content&view=article&id=39&Itemid=536">Aged Care</a></h3>
<ul>
<li><a style="display: block;" href="https://www.joomlacontenteditor.net/index.php?option=com_content&view=article&id=39&Itemid=536">Churches of Christ</a></li>
<li><a style="display: block;" href="https://www.joomlacontenteditor.net/index.php?option=com_content&view=article&id=39&Itemid=536">Holy Spirit Aged Care</a></li>
</ul>
</div>
If client adds a new list item but does not understand the coding, the DIV link for the whole block gets removed
JCE Editor modifications made in an attempt to save code:
Filtering - Set to No Filtering
'Editor Parameters' - 'Cleanup and Output' Setting - I set the Validate HTML setting to - No
'Advanced' Settings - 'Allow Javascript', 'Allow CSS' and 'Allow PHP' to - Yes
'Plugin Parameters' - 'media support settings' - 'Allow IFrames' to Yes
Anyone able to assist so the 'top' code stays intact?
Many thanks.
The following code works and is what I want (a whole module DIV link):
<a style="display: block;" href="https://www.joomlacontenteditor.net/index.php?option=com_content&view=article&id=39&Itemid=536">
<div class="projhover">
<h3>Aged Care</h3>
<ul>
<li>Churches of Christ</li>
<li>Holy Spirit Aged Care</li>
</ul>
</div></a>
Upon saving it gets stripped to (individual list item links):
<p><a style="display: block;" href="https://www.joomlacontenteditor.net/index.php?option=com_content&view=article&id=39&Itemid=536"></a></p>
<div class="projhover">
<h3><a style="display: block;" href="https://www.joomlacontenteditor.net/index.php?option=com_content&view=article&id=39&Itemid=536">Aged Care</a></h3>
<ul>
<li><a style="display: block;" href="https://www.joomlacontenteditor.net/index.php?option=com_content&view=article&id=39&Itemid=536">Churches of Christ</a></li>
<li><a style="display: block;" href="https://www.joomlacontenteditor.net/index.php?option=com_content&view=article&id=39&Itemid=536">Holy Spirit Aged Care</a></li>
</ul>
</div>
If client adds a new list item but does not understand the coding, the DIV link for the whole block gets removed
JCE Editor modifications made in an attempt to save code:
Filtering - Set to No Filtering
'Editor Parameters' - 'Cleanup and Output' Setting - I set the Validate HTML setting to - No
'Advanced' Settings - 'Allow Javascript', 'Allow CSS' and 'Allow PHP' to - Yes
'Plugin Parameters' - 'media support settings' - 'Allow IFrames' to Yes
Anyone able to assist so the 'top' code stays intact?
Many thanks.