rebase from live enviornment
This commit is contained in:
12
wp/plugins/wp-schema-pro/wpsp-config/controls/parse-icon.js
Normal file
12
wp/plugins/wp-schema-pro/wpsp-config/controls/parse-icon.js
Normal file
@@ -0,0 +1,12 @@
|
||||
function parseSVG ( svg ) {
|
||||
|
||||
svg = svg.replace( "far ", "" )
|
||||
svg = svg.replace( "fas ", "" )
|
||||
svg = svg.replace( "fab ", "" )
|
||||
svg = svg.replace( "fa-", "" )
|
||||
svg = svg.replace( "fa ", "" )
|
||||
|
||||
return svg
|
||||
}
|
||||
|
||||
export default parseSVG
|
||||
Reference in New Issue
Block a user