Issue #872Opened February 15, 2018by panagulis720 reactions

Know when the editor is Initialized

Question

Is there a fallback on var editor = grapesjs.init({ }) ? I need to know when the editor is loaded and initialized

Answers (3)

cjpollardFebruary 15, 20180 reactions

You can listen for the event with:

editor.on('load', fn);
ryandebaFebruary 15, 20180 reactions

Hi @panagulis72,

As @cjpollard pointed out, the load event is what you need to listen for. Here's a live example: https://jsfiddle.net/gkcgm6th/5/

panagulis72February 15, 20180 reactions

Thank you very very much!

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.