diff --git a/projects/ngx-tiptap/src/lib/AngularRenderer.ts b/projects/ngx-tiptap/src/lib/AngularRenderer.ts index 753cda0..25eaf30 100644 --- a/projects/ngx-tiptap/src/lib/AngularRenderer.ts +++ b/projects/ngx-tiptap/src/lib/AngularRenderer.ts @@ -12,6 +12,7 @@ export class AngularRenderer { this.componentRef = createComponent(ViewComponent, { environmentInjector: this.applicationRef.injector, + elementInjector: injector, }); // set input props to the component