Closed laritakr closed 2 months ago
commenting out the javascript makes the input fields render once 🤔
or commenting this out works too.
javascript library comes from: https://github.com/tommoor/fontselect-jquery-plugin/blob/master/jquery.fontselect.js
There's something about fontselect that adds another input field. I've since confirmed that this is happening on hyku proper's main, as well:
I think this is happening because the two javascript files w font select are being called twice. I'm not sure why this would suddenly fail since the code isn't new, but removing one of these js files should solve the double rendering problem.
There is a known bug in hyku regarding the font display in the dropdown. For now you will have to click into a drop down option before it will update its rendering. This is out of scope to fix now and the fix should go back to hyku.
font needs to be https://fonts.googleapis.com/css?family=Nobile|sans-serif
SoftServ QA: ✅ Pass
1. Double Rendering
Font selection works in spite of the duplication of select fields.
2. No Font Preview
Staging examples
Testing Instructions
Visit https://demo.adventist-knapsack-staging.notch8.cloud/admin/appearance?locale=en#font (Admin Dashboard > Settings > Appearance > Font Tab