Skip Navigation

[Closed] Font Awesome icons disappear from WYSIWYG fields

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 4 replies, has 3 voices.

Last updated by Christopher Amirian 1 year, 3 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2700034

I am trying to: Use a Font Awesome icon in the content of a WYSIWYG field.

Link to a page where the issue can be seen: hidden link

I expected to see: A Font Awesome icon where I placed it in the content.

Instead, I got: The icon shows at first, but any time I edit the field, the icon is replaced with <p> </p>. Something is stripping out the Font Awesome icon code and I want to disable that thing.

#2700184

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi there

Could you clarify how you are inserting Font Awesome icons into the editor, please?

#2701635

I am inserting the code. For example,

<i class="fas fa-university"></i>
#2701656

Wrapping it in a div makes no difference. After saving I end up with

<div> </div>
#2701689

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

Would you please test if the same thing happens on a minimal installation?

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except Toolset and its add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

If the issue persists, I'd appreciate it if you could replicate it here in this clean installation so I can report the problem:

hidden link

Thanks.

The topic ‘[Closed] Font Awesome icons disappear from WYSIWYG fields’ is closed to new replies.