You can also do this from inside your app:
import anvil.js
html = anvil.js.get_dom_node(self.rich_text).innerHTML
print(html)
You can also do this from inside your app:
import anvil.js
html = anvil.js.get_dom_node(self.rich_text).innerHTML
print(html)