title: How to get text from editable div content with c#
body: <p>I have an editable div content which I keep some html texts. I added attribute <code>runat="server"</code> and wanna get the html text content with c#. Does anybody can help me with it? Here is my <code>div</code> </p>
  
  <pre><code>&lt;div runat="server" id="Pcontent" contenteditable="true" class="allow"&gt;
       Some &lt;em&gt;rich&lt;/em&gt; 
       &lt;span style="font-size:2em"&gt;HTML&lt;/span&gt; 
  &lt;/div&gt;
  </code></pre>
  
  <p><strong><em>PS: <code>InnerHtml</code> and <code>InnerText</code> does not working!!</em></strong></p>
  
  <p>PS2: My purpose is generally like <a href="https://jsbin.com/nozifexasu/edit?html,css,js,output" rel="nofollow noreferrer">here</a>. I want to get data from allowed div and use it as HTML string</p>
  
  <blockquote>
    <p><strong>SOLVED</strong> : <code>var str = document.querySelector("[contenteditable]").textContent;</code></p>
  </blockquote>