In case someone is looking for a concrete example, this is what I did to fix the icon issue not showing in the menu (rich text):
-
Create a workflow that runs On App Load.
-
Create a Custom Javascript node in the workflow.
-
Paste this in the code to import the FontAwesome Icon Library when the App Loads.
if(!window["scp-loading-50478037-586f-4f2d-92b9-bb1ed3c1de57"]) {
window["scp-loading-50478037-586f-4f2d-92b9-bb1ed3c1de57"] = true;
let doc;
/* Adding script from https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.0.0/js/all.min.js */
doc = document.createElement('script');
doc.src = 'https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.0.0/js/all.min.js';
document.body.appendChild(doc);
}