We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular 9, There is no error/warning in console log, component not appearing in inspect element. What would be wrong. My ts file :
import { Component, OnInit } from '@angular/core';
import { serialize, parse } from '@wordpress/blocks' import { NgGutenbergModule,IBlock } from 'ng-gutenberg'
@component({ selector: 'app-testcomp', templateUrl: './testcomp.component.html', styleUrls: ['./testcomp.component.scss'] }) export class TestcompComponent implements OnInit {
blocks: IBlock[];
constructor() { }
onBlocksChanged(item: IBlock[]) { var html = serialize(item); }
ngOnInit(): void { }
}
// My HTML file <block-editor-provider [blocks]="blocks" contentClass="gutenberg__editor">
The text was updated successfully, but these errors were encountered:
Did you import @import "ng-gutenberg/ng-gutenberg" in your styles?
@import "ng-gutenberg/ng-gutenberg"
Sorry, something went wrong.
Error throws If i import styles.
arnvanhoutte
No branches or pull requests
Angular 9, There is no error/warning in console log, component not appearing in inspect element.
What would be wrong.
My ts file :
import { Component, OnInit } from '@angular/core';
import { serialize, parse } from '@wordpress/blocks'
import { NgGutenbergModule,IBlock } from 'ng-gutenberg'
@component({
selector: 'app-testcomp',
templateUrl: './testcomp.component.html',
styleUrls: ['./testcomp.component.scss']
})
export class TestcompComponent implements OnInit {
blocks: IBlock[];
constructor() { }
onBlocksChanged(item: IBlock[]) {
var html = serialize(item);
}
ngOnInit(): void {
}
}
// My HTML file
<block-editor-provider [blocks]="blocks" contentClass="gutenberg__editor">
The text was updated successfully, but these errors were encountered: