Skip to content

Commit

Permalink
Merge pull request #1157 from valadas/rich-text-fix-3
Browse files Browse the repository at this point in the history
Fixed an issue where inner event was fired with rich-text
  • Loading branch information
valadas authored Sep 3, 2024
2 parents 9abe06a + 752ed8b commit 7707043
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export class DnnRichtext {
};
this.editor = Jodit.make(this.textArea, mergedOptions);
this.editor.value = decodeHtml(this.value);
this.editor.e.on('change', newValue => this.valueChange.emit(newValue));
this.editor.e.on('input', newValue => this.valueInput.emit(newValue));
this.editor.e.on('change', () => this.valueChange.emit(this.editor.value));
this.editor.e.on('input', () => this.valueInput.emit(this.editor.value));
}

render() {
Expand Down

0 comments on commit 7707043

Please sign in to comment.