Skip to content

Commit

Permalink
fix: control value not updating on paste
Browse files Browse the repository at this point in the history
  • Loading branch information
behdi authored and stevermeister committed Aug 13, 2024
1 parent 76a9a2b commit 59c7d1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects/ngx-wig/src/lib/ngx-wig.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ export class NgxWigComponent
} else {
this.pasteHtmlAtCaret(text);
}

this.onContentChange(this.container.innerHTML)
}

public onTextareaChange(newContent: string): void {
Expand Down

0 comments on commit 59c7d1b

Please sign in to comment.