Title: Simplify inserted code
Last modified: August 21, 2016

---

# Simplify inserted code

 *  Resolved [Danny Smith](https://wordpress.org/support/users/stormpoopersmith/)
 * (@stormpoopersmith)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simplify-inserted-code/)
 * I’d like an option to just include the `<i class="fa fa-[icon]"></i>` HTML instead
   of the `<span>` tag that is currently included. It’d also be great if there were
   toggle buttons next to the dropdown list to select things like fixed-width, large,
   etc.
 * [http://wordpress.org/plugins/wp-visual-icon-fonts/](http://wordpress.org/plugins/wp-visual-icon-fonts/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Paul van Zyl](https://wordpress.org/support/users/pushplaybang/)
 * (@pushplaybang)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simplify-inserted-code/#post-4495984)
 * Hey
 * So currently my issue is that the i tag gets stripped in the tinyMCE editor, 
   I will look into this but currently having the span tag allows the plugin to 
   function in the visual editor, I would would ideally like to remove the extra
   span tag as well, though I don’t think it should have any adverse effects for
   the moment.
 * Kind Regards
 * Paul
 * PS : Thanks again for taking the time.
 *  Thread Starter [Danny Smith](https://wordpress.org/support/users/stormpoopersmith/)
 * (@stormpoopersmith)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simplify-inserted-code/#post-4496002)
 * Hi Paul
 * [Advanced TinyMCE Configuration](http://wordpress.org/plugins/advanced-tinymce-configuration/)
   allows you to specify valid elements for TinyMCE – you should be able to find
   the relevant part of that to add it into your plugin and add the I element if
   it’s not in the list.
 * Any thoughts on adding the extra stylings such as fa-lg and fa-fw to the inserted
   tags?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Simplify inserted code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-visual-icon-fonts_ecb5ad.svg)
 * [Visual Icon Fonts](https://wordpress.org/plugins/wp-visual-icon-fonts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-visual-icon-fonts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-visual-icon-fonts/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-visual-icon-fonts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-visual-icon-fonts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-visual-icon-fonts/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Danny Smith](https://wordpress.org/support/users/stormpoopersmith/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/simplify-inserted-code/#post-4496002)
 * Status: resolved