code: def switch_to_plain_text(self):
          
          self.rich_help = False
          self.plain_text.show()
          self.rich_text.hide()
          self.plain_text_action.setChecked(True)
docs: Switch to plain text mode