GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
22.38k stars 4.06k forks source link

[QUESTION] How to use replace fontawesome url ? #2698

Closed adeguntoro closed 4 years ago

adeguntoro commented 4 years ago

I'm new with Grapejs. Firts time i use, it look awesome. So, how can i replace cdn fontawesome with css/js file from my own computer without need to use internet ? I live in country where internet is a big problem for me to use something. Sorry for my english.

noogen commented 4 years ago

@adeguntoro Take a look at this: https://github.com/artf/grapesjs/blob/8b315e4ba053043889456fcc4048c4f504257551/src/editor/config/config.js#L152

Pass in your config with cssIcons property of '/localpath/css/font-awesome.min.css` to override?