How to Customize RTE for table fields in Typo3 Extensions ?

In the ext_localconf.php file of the extension, add the below code.

t3lib_extMgm::addUserTSConfig(‘
page.RTE.config.your_table_name.field_name.showButtons = bold, italic, orderedlist, unorderedlist
‘);