Issue #1387Opened August 27, 2018by YashPrince0 reactions

Include all the google fonts?

Question

@artf I want to include all the google fonts in font family.

fw How can we include/import all the font family, Any help would be appreciated.

Answers (2)

artfSeptember 2, 20180 reactions

You can init the editor with custom style/scripts if you need

var editor = grapesjs.init({
        canvas: {
            styles: [
				'https://fonts.googleapis.com/css...',
				// ...
			],
            scripts: [
				'https://...some-script.js',
				// ...
			],
        },
    });

or you can add them dynamicly like this

editor.Canvas.getDocument().head.appendChild(someEl);
lock[bot]September 17, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.