RichTextEditor: Provide a notification for content changes
Provide a notification (property/event) when the edited content inside the RichTextEditor has been changed.
2 comments
Nico
Posted on:25 Apr 2025 14:22
I would love to have the currently internal RichtTextView public, then we can simply attach ourselves to the ContentInvalidated event there
Nico
Posted on:28 Feb 2025 10:31
For anyone looking for a workaround until the feature is implemented: The focused and unfocused events are not fired in the RadRichTextEditor. You have to look for the internal WebView (RichTextView is internal, so WebView) and then can use the focused and unfocused events there. Something like
In the unfocused event you're now able to call
await RichEditor.GetHtmlAsync()
and compare the old and new source text / update your MVVM models