How to prevent 3rd party editors from removing source code in modules/articles
As many of you have probably experienced before certain editors often strip coding you add via the Module/Article Manager upon submission. Unfortunately this occurs with default editor settings and often requires some minor tweaks to the plugins themselves to prevent this from happening.
Editors you might expect to experience these types of issues on are JCE and TinyMCE. There are also a few smaller 3rd party editors out there that this might occur on but you can follow the guidelines below or contact their developers to achieve a similar result.
<a href="http://www.youtube.com/username" class="ion-android-alarm"></a>
The problem is that 3rd party editors will generally strip coding that has no physical content or text inside. Upon submission the above coding will just be completely removed from the article/module preventing it from displaying properly. There are a couple ways to combat this which are detailed below:
When ever you are adding or modifying a module that uses coding such as the examples above, change your editor in the Global Configuration to either "None" or "Code Mirror". After you are done adding your code hit "Save" and then you can swap your editor back to your preferred option.
Another common reason certain elements get stripped is if your Joomla Configuration is using Text- Filters for your user group for security. This can prevent certain elements like iFrames or YouTube videos from loading properly. To ensure this doesn't occur on your site navigate to System > Global Configuration > Text Filters and ensure that this is set to "None" for your specific user group.
If you still have issues after following the details above with your coding getting stripped we suggest contacting the developers for the editor you are using for direct exclusion instructions.