TPAE 7.5 has introduced a nice Rich Text editor control for editing and formatting long descriptions. This applies to both Maximo and SmartCloud Control Desk starting from version 7.5.
This feature is very cool in some cases but may cause some troubles. I personally do not like the effects of pasting text into such RTF text boxes.
To disable the formatting features of these controls you can just add the following attributes to the richtexteditor element in the application XML definition: plugins=”[]” extra_plugins=”[]”
Here are the steps.
- Open the Application Designer.
- Open the application you want to modify.
- Export the XML definition.
- Open the XML with a text editor.
- For each richtexteditor element add the plugins and extra_plugins attributes (look at the example below).
- Save the XML file.
- Update the application definition importing the XML in the Application Designer.
Example
Before
<richtexteditor dataattribute="description_longdescription" id="main_grid3a_col1_2"/>
After
<richtexteditor dataattribute="description_longdescription" id="main_grid3a_col1_2" plugins="[]" extra_plugins="[]"/>
References
- IBM TechNote – Removing Rich Text Editor in LD Field in the UI
- Disable rich text from long descriptions in Maximo 7.5
- Maximo Wiki – Making long description a text field
- Featured Documents for Rich Text Issues in Maximo 7.5
How to disable the 7.5 Rich Text editor
This only removes formatting buttons from dojo editor – correct? Users are still able to copy – paste RTF from MS Word and it will be stored in the longdescription table with RTF tags in it. Futhermore, if you upgrading from prev versions and don't want to use longdescriptions, you will loose all your linebreaks in longdescriptions. Unless i am missing something
Yes pasting a formatted text is still allowed with this techniques.
I have added some other reference material in the article.
I'm upgrading our fix pack from 7.5.0.5 to 7.5.0.7 so I have to revisit the change we made.
Can you explain how your change is different from what we did back in Sep 2013?
Here is the pastebin for the XML code change:
http://pastebin.com/i2GMEVx7
How can we remove few plugins and not all from the toolbar for a field say long description?
Thank You for giving us such a nice post on Rich Text Edit Control. This list is very beneficial for me……