Issue #860πŸ’¬ AnsweredOpened February 12, 2018by vrudikov0 reactions

Can't bootstrap GrapesJS + Material Design Lite integration

Quick answerby artf

Hi @vrudikov JS seems to be loading correctly (and you can see that by other JS elements like dialog) but seems like MDL is not auto-initializing. I think you just have to find how to call its init method

Read full answer below ↓

Question

So i'm trying to bootstrap this integration and i think MDL framework doesn't run, because JS components are not initialized at all

Here is the plunker

I digged into the code of both GrapesJS and MDL and both seems work ok. I tried several ways of initializing MDL JS: canvas init, init script after GJS div content, but no luck

Will appreciate any help

Answers (3)

artfβ€’ February 13, 2018

Hi @vrudikov JS seems to be loading correctly (and you can see that by other JS elements like dialog) but seems like MDL is not auto-initializing. I think you just have to find how to call its init method

vrudikovβ€’ February 13, 2018

For everyone who want to have Material + GrapesJS integration - just use material-components-web

lock[bot]β€’ September 18, 2019

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.