The rich text editor does not allow for adding tables nor editing the html.
Replace the rich text widget with the CK editor from the app store to allow for more formatting options. See https://appstore.home.mendix.com/link/app/1715/Mendix/CKEditor-For-Mendix
Although the rich text is the recommended widget this widget will still work fine, see the most recent review