mlwilkerson
Forum Replies Created
-
Forum: Plugins
In reply to: [Font Awesome] Why is it render blocking?I tried viewing the web page you linked. It didn’t load. Can you show screenshot evidence of render blocking behavior?
As I mentioned on your support topic over here, the default way this plugin works is to load a Kit via the
<script>embed code. The plugin adds thedeferattribute to that<script>. So I would not expect any render blocking. Furthermore, that script loads assets asynchronously.Forum: Plugins
In reply to: [Font Awesome] Use cached versions if availableCould you be more specific about what you want to avoid when you refer to requests to the Font Awesome website? And can you show screenshot examples of where the current behavior is different from what you want?
This plugin makes zero requests to any fontawesome.com subdomain on the back end. On the front end, by default, it simply loads a Kit. Kits have their own CDN which includes multiple layers of caching, including:
- browser disk cache
- Cloudflare cache
As of this plugin’s version 5, when you only use the Block Editor to insert icons, they are added as inline SVGs. The only other asset that is loaded is a CSS file from your own WordPress server. You can use a hook to disable the loading of the kit entirely (see docs here). This results in zero requests to the Font Awesome Kits CDN, even on front end page loads.
Forum: Plugins
In reply to: [Font Awesome] Work with ElementorSorry, Elementor is a different plugin. We can’t provide support for their plugin. To my knowledge, though their plugin does have an integration with Font Awesome icons, it does not integrate with this Font Awesome plugin in any way.
Forum: Plugins
In reply to: [Font Awesome] When this plugin will be Test to WordPress Version 6.9?Done. I’ve updated the status in the plugins directory.
Testing is good for WordPress 6.9.
Forum: Plugins
In reply to: [Font Awesome] Issue with WordPress 6.9@poonasor Thanks for the report. Unfortunately, I haven’t been able to reproduce the issue.
Using WordPress 6.9 and this plugin’s version 5.1.3 and ACF 6.7.0, I was able to create an ACF field group with a file field. When creating a post and clicking the file field, the WP media window opened as expected–no errors.
Forum: Plugins
In reply to: [Font Awesome] Block Fails for Editors in GutenbergUpdate: I’ve got a prototype implementation that adjusts the
allowed_htmlfilter for our<svg>elements. Would you be able to try an experimental pre-release?I’ve just released plugin version 5.1.3 with that change. Does that still fix the problem here?
Forum: Plugins
In reply to: [Font Awesome] Block Fails for Editors in GutenbergThanks for the report, @xariklios. I’m was not able to reproduce the error using your reproduction steps. So it seems like there must be some additional factor at play. I suspect that it’s because on your system, your Editor user does not have the
unfiltered_htmlcapability. If so, and if your KSES filter does not allow<svg>, which it probably doesn’t, then that would cause this problem.I attempted the reproduction like this:
- Clean install of WordPress 6.8.2
- Install version 5.1.2 of the Font Awesome plugin
- Add a test-editor user with Editor role
- Login as test-editor
- Create a post in the block editor
- Add a Font Awesome icon block using the icon chooser (success, no console errors)
- Publish that post (no errors)
- View that new post on the front end (no errors, icon displays as expected)
- As the same test-editor user, navigate back to the post listing page and click to Edit that same post
- The icon block renders as expected within the block editor, with no JavaScript console errors.
- Click to modify that icon–changing it’s color, size, and flip.
- Re-save the page
- View it again on the front end (shows expected modified icon, no errors)
On my system, users with the Editor role do have the
unfiltered_htmlcapability. Can you determine whether your users with the Editor role have theunfiltered_htmlcapability?@alit93 I’ve just released plugin version 5.1.2 with a fix for this. Can you confirm that this fixes your problem?
Also, in my investigation, what I found is that the problem was only with rich text icons, not icon blocks. And it would occur for any rich text icons, whether they had been added previously, or added new.
Can you also confirm that this matches your usage scenario?
Thanks again for the report.
@alit93 Thanks for the report. I’m on it. Will update when I find something.
Forum: Plugins
In reply to: [Font Awesome] Conflict between Font Awesome 5.0.1 and Toolset types 3.5.2I think bug originally reported in this topic was resolve in the plugin release
5.0.2. The error in the original report was:Uncaught TypeError: Cannot read properties of null (reading ‘parentElement’)
I acknowledge that an additional problem persisted after
5.0.2which also caused the combination of Toolset Types with the Font Awesome plugin not work. That issue has been tracked over here on this other support forum topic.As I mentioned here, I’ve posted a development release that might resolve this problem. If you’re experiencing this bug and would be willing to try that development version and report the results, it would help to confirm the fix.
After giving it some further thought, the risk may be low enough to omit our plugin’s explicit dependence on
tinymceas a way to work around what I currently believe is an error in Toolset’s code. Would you join me in an experiment?I’ve posted a development release here in our GitHub repo. It simply omits our plugin’s explicit dependence on
wp-tinymce. Otherwise, it’s functionally equivalent to the 5.1.1 version of the plugin that I also released today (the curious can see diffs here).For the bug as I was able to reproduce it above, this resolves it.
It would be helpful if those who’ve encountered the problem could try this development release, perhaps on a staging or development site, and let me know if it resolves your manifestation of the problem.
To try it:
- Navigate to the Release Page in GitHub.
- Click link to download
font-awesome-5.1.2-1.zipfrom that page. - In WordPress admin, go to install a new plugin, click to Upload, and upload that zip file to install it.
Forum: Plugins
In reply to: [Font Awesome] Block layout: Cannot change the icon after added itI’ve just released plugin version 5.1.1 which supports changing the icon in the styling UI.
Forum: Plugins
In reply to: [Font Awesome] Changelog for 5.1.0?I’ve back filled the Changelog in the readme.txt for 5.1.0. Too little too late, perhaps.
Forum: Plugins
In reply to: [Font Awesome] Change Icon?I’ve just released version 5.1.1 of the plugin which includes the ability to change the icon within the styling UI.