Html Editor on NopCommerce 4.2 - how to customize

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
I noticed that the HTML editor likes to modify just about everything including removing tags with any javascript.  Is there any way to prevent it from mucking up everything I put into it (on the product and category pages)?

Here's an example of some code I put into the product description that gets modified automatically:

    <a href="#" class="hearmorelink" onclick="window.open('/Tactiles-audio.html', 'Voice Over', 'width=320,height=1,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no');return false;">
        <div>Want to hear more?<span>CLICK HERE</span></div>
    </a>


and it turns it into this:
<div>Want to hear more?<span>CLICK HERE</span></div>


The href tag is deleted completely and it's annoying!
3 years ago
Is that with Visual Studio ? Did you try disabling "Auto Closing Tags" option ?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.