Support Article
Unable to hide formatting options in Rich Text Editor
SA-60727
Summary
The requirement is to hide the Formatting options in the Rich Text Editor (RTE) except Bold, Italic, and Underline options.
Error Messages
Not Applicable
Steps to Reproduce
Create a section with RTE.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Perform the following local-change:
Add the below custom style in the UserWorkForm. Include the same code in a non-autogenerated section with RTE to localize the solution to a specific section rather than across the entire application.
<style>
.cke_combo, .cke_button__textcolor, .cke_button__bgcolor, .cke_button__bulletedlist, .cke_button__numberedlist, .cke_button__copyformatting, .cke_button__removeformat,.cke_button.cke_button__italic
{
display:none !important;
}
</style>
Published October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.