Open Meistercoach83 opened 4 years ago
Can you try to copy this folder to your main directory where you run the styles.scss file?
@arnvanhoutte as i said: i got the missing files from @wordpress directly - but now I have the error Uncaught (in promise): Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead
The files you have from wordpress are different. You need the ones that I linked For the other error, can you post me the modules you have imported where you loaded the NgGutenbergModule from?
still getting the error Uncaught (in promise): Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.
Can you show me your module imports?
I added you to my repo
Okay, I'll check when I get home (in about 90 minutes)
Good Morning Arn,
I checked the angular-react package and found this article: https://github.com/microsoft/angular-react/wiki
For the usage it says
In your AppModule, change BrowserModule to AngularReactBrowserModule.
Just like BrowserModule, AngularReactBrowserModule should only be imported once, at the top of the module hierarchy
I did that and now the editor is displayed
Hey Arn, first of all: Thanks for your work for integrating this editor in angular. I tried installing and including the files - but I get an
There is no directory base-styles?
I changed it to this import:
So the errors are fixed - but no I get an
Uncaught (in promise): Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.