Closed psycrow117 closed 1 year ago
Hi, May I know how to add custom font on the typography for this one? I checked laravel-grapesjs.php and there is a custom_fonts under plugins. I tried this but the font still wont appear.
laravel-grapesjs.php
'plugins' => [ 'default' => [ 'basic_blocks' => false, 'bootstrap4_blocks' => false, 'code_editor' => true, 'image_editor' => false, 'custom_fonts' => [ [ 'value'=>'Barlow, sans-serif', 'name'=>'Barlow', ], ], 'templates' => false, ] ]
@psycrow117 I see that the internal plugin is not working. You can create a custom plugin (as Explained here) for that and add fonts through that.
Hi, May I know how to add custom font on the typography for this one? I checked
laravel-grapesjs.php
and there is a custom_fonts under plugins. I tried this but the font still wont appear.'plugins' => [ 'default' => [ 'basic_blocks' => false, 'bootstrap4_blocks' => false, 'code_editor' => true, 'image_editor' => false, 'custom_fonts' => [ [ 'value'=>'Barlow, sans-serif', 'name'=>'Barlow', ], ], 'templates' => false, ] ]