Skip to content

Commit

Permalink
feat: enable hierarchical injectors in AngularRenderer (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benny739 authored Nov 3, 2023
1 parent 449fe24 commit 93ec574
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 93ec574

Please sign in to comment.