an class="keyword">string</span> contentAsText;
    <span class="keyword">protected</span> <span class="keyword">string</span> savedContent;

    <span class="keyword">public</span> <span class="keyword">async</span> Task OnContentChanged()
    {
        contentAsHtml = <span class="keyword">await</span> richTextEditRef.GetHtmlAsync();
        contentAsDeltaJson = <span class="keyword">await</span> richTextEditRef.GetDeltaAsync();
        contentAsText = <span class="keyword">await</span> richTextEditRef.Ge