Retrieve the <table> html content from the output of wx.RichTextCtrl

I have created a Desktop Application and encountered with a minor issue regarding the wx.RichTextCtrl.
I created a table inside the RichTextCtrl editor using WriteTable() method.
self.richEditor.WriteTable(2,2)

I can retrieve the table content using the RichTextXMLHandler Class, and that works fine!
<?xml version="1.0" encoding="UTF-8"?> <richtext version="1.0.0.0" xmlns="http://www.wxwidgets.org"> <paragraphlayout textcolor="#000000" fontpointsize="9" fontfamily="70" fontstyle="90" fontweight="400" fontunderlined="0" fontface="Segoe UI" alignment="1" parspacingafter="10" parspacingbefore="0" linespacing="10" margin-left="5,4098" margin-right="5,4098" margin-top="5,4098" margin-bottom="5,4098"> <paragraph> <table textcolor="#000000" fontpointsize="9" fontfamily="70" fontstyle="90" fontweight="400" fontunderlined="0" fontface="Segoe UI" alignment="1" parspacingafter="10" parspacingbefore="0" linespacing="10" margin-left="5,4098" margin-right="5,4098" margin-top="5,4098" margin-bottom="5,4098" rows="2" cols="2"> <cell textcolor="#0000FF" bgcolor="#FF0000"><paragraph><text>Anica</text></paragraph></cell> <cell textcolor="#0000FF" bgcolor="#FF0000"><paragraph><text>Basto</text></paragraph></cell> <cell textcolor="#0000FF" bgcolor="#FF0000"><paragraph><text>Canon</text></paragraph></cell> <cell textcolor="#0000FF" bgcolor="#FF0000"><paragraph><text>Dista</text></paragraph></cell> </table> </paragraph> </paragraphlayout> </richtext>

But cannot retrieve the table content using the RichTextHTMLHandler Class, (No table content in the output)
b'<html><head></head><body>\r\n<font face="Segoe UI" size="2" color="#000000" ><p align="left"><font face="Segoe UI" size="2" color="#000000" ></font></p>\r\n\r\n</font></body></html>\r\n'

Would anybody kindly advice to find a solution or an alternative method?

Which version? Are you using any flags with the html handler? Can you create a small-as-possible app that demonstrates the problem? That makes it much easier for others to try to find a solution.

Actually, after looking at the C++ source a little closer it appears that the HTML handler only uses tables for handling indentation when the USE_CSS flag is turned off. So it seems that the support for document tables simply hasn’t been added to the HTML handler.

You can file an issue with the wxWidgets project (https://trac.wxwidgets.org/) about it, and/or submit a PR if you want to implement it yourself.

Dear Robin Sir, Great Thanks for responding to my request/issue!
Version is wxPython 4.1.0. In fact, I have not used any flags with the wx.RichTextCtrl

Please follow the sample app at https://github.com/antonyesudas/wxrichtext/tree/table-html. It is open for Pull Requests. Waiting for your kind response!

Following your instruction, I have registered with the wxWidgets Trac. (Will submit the ticket soon after receving the verification email from Trac)