Extending GrapeJS

Hey guys, I’m trying to extend GrapeJS in Mautic to be able to include Google fonts. However, I’ve not been able to find the right, uncompiled, source code or an API where I can just hook into the system and extend the plugin. Am I missing something or is this just not possible at the time? Thanks.

1 Like

You can add mj-font to the mjml header and refer to google fonts. However it wont work in the majority of email readers. This is not a Mautic thing, but simply an email thing:

Yeah that’s how I’ve been doing it, but I’d like it to be integrated with the GrapeJS editor when you select a font. The idea is not to modify the code at all and to be able to select the font from the dropdown menu.

Oh :slight_smile: Sorry.
I suggest to drop a line in the i-builders channel in Slack, and ask there.

1 Like

I’m in the same, It has to be done at the grapeJS Init (According to grapejs) but I don’t know where are the files to edit in mautic too…