Open narimanam opened 3 months ago
Hey there! In the latest version of the library, that is 18.0.0, we migrated to the standalone API. Which version do you use?
I just had the same issue, you can fix it by importing the editors directly from ngx-grapesjs as following and add them to the import:
import {
NgxNewsletterEditorComponent,
NgxWebpageEditorComponent,
} from 'ngx-grapesjs';
@Component({
selector: 'app-root',
standalone: true,
imports: [
NgxWebpageEditorComponent, // new imports here
NgxNewsletterEditorComponent,
],
templateUrl: './app.component.html',
styleUrl: './app.component.scss',
})
Hi, I encountered an error in the first step of adding
ngx-grapesjs
. It appears thatNgxGrapesjsModule
is missing from thengx-grapesjs
package. Did I overlook something?For context, I'm using Angular version 18. Here's what I did:
grapesjs
.grapesjs-preset-webpage
andgrapesjs-blocks-basic
.ng add
to integratengx-grapesjs
and selected the Webpage Editor option.Any insights on what might be going wrong?