Skip to content

Commit

Permalink
feat: enable hierarchical injectors in AngularRenderer
Browse files Browse the repository at this point in the history
  • Loading branch information
Benny739 committed Oct 25, 2023
1 parent 464d052 commit b846fc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions projects/ngx-tiptap/src/lib/AngularRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export class AngularRenderer<C, P> {

this.componentRef = createComponent(ViewComponent, {
environmentInjector: this.applicationRef.injector,
elementInjector: injector,
});

// set input props to the component
Expand Down

0 comments on commit b846fc8

Please sign in to comment.