You can add a new CSS class in the Rich Text Editor dropdown and apply it to the selected row table.
There are two steps to add CSS class in RTE:
Add element inWebsite\sitecore\shell\Controls\Rich Text Editor\ToolsFile.xml file.
Now add the definition of that CSS class (eg. arrowlink) in Website\default.css file.
You can see newly added arrowlink CSS ...
This blog post describes the detailed steps to configure a custom dropdown list button in the Rich Text Editor in Sitecore 9: https://sitecorerunner.com/2018/08/21/adding-rte-richtext-custom-dropdown-list-in-sitecore-9/
One thing that is not explicitly called out in the article is that you need to use the Html Editor Custom Drop Down Button template when ...
It should be available for you by default:
Click Show editor on field that your want to edit
Select tassel icon
Select Strip Css Formatting from dropdown menu
If it is not available in your version/configuration, then you can enable it by selecting HTML Editor Profile.
Open template field on which you want to be able to remove style attributes
Set source ...
Updates you made will work fine for the RTE design but it will not work with the HTML tab because if you will see the HTML part of it, you will see RTE design has its own iFrame with styles in it and HTML tab is a simple text area. Sitecore uses these UI controls from Telerik and if you want to apply the style on HTML tab as well then the easy way is to edit ...
A method I much prefer for user-friendliness is to create a new paragraph type in the RTE Profile:
It looks like this in the Rich Text Editor window:
This way you can choose the type of DOM element you want and can specify multiple classes.
The Below Answer, while answering the main question, is NOT recommended!
Please find the hotfix available at the following URL:
Be aware that the hotfix was built specifically for Sitecore XP 9.3, and you should not install it on other Sitecore versions or in combination with other hotfixes, unless explicitly instructed by Sitecore Support.
Note that you need to ...
1) In web.config file check the value of setting WebStylesheet. By default, it is “/default.css“. Open this file & add your css classes in this file
2) In the ToolsFile.xml file located at rootfolder\sitecore\shell\Controls\Rich Text Editor\ folder and add css class entries in <classes> node
3)Navigate to rich text editor field of your template ...
The path to EditorPage.aspx is hard-coded in Sitecore.Shell.Applications.ContentEditor.RichText. That is the class resposible for the Rich Text field type. You would need to provide an alternate field type implementation if you wanted to point the field at a different aspx page. I wouldn't recommend it.
For most editor customizations, a better approach is ...