How can I provide an option in the Rich Text Editor to remove all style attributes of the selected text?
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 field value to "/sitecore/system/Settings/Html Editor Profiles/Rich Text Full" (Or another, use link with explanation above)