IBM Support

Setting a default font size for Rich Text controls

Technical Blog Post


Abstract

Setting a default font size for Rich Text controls

Body

Your main purpose here is to set a default font size for the Rich Text Format controls or RTF. Well.. there are some considerations that need to be taken into account as below.

There is a drop down on the toolbar to increase the font size, but that will have to be done for each record that is edited.

 
There is a property to easily change the list of fonts (webclient.richtext.fontlist) that are available, but not the font sizes. 

Regarding having a way to set a default font size, we see that users have been complaining that the default font size when using the rich text editor is too small and would like the default font size to be automatically set to a better size every time they open and use the rich text editor. 

Maximo does not offer a functionality to do that within the application, however, the only way to make the change is through the .css file.  

NOTE:  The steps below should be taken at your own risk in case you want to try this setup, since this operation is out of Support scope.

You may want to try the following on a TEST environment, getting the text to default to a predetermined size, so users don't have to keep selecting each time.

* In case this does NOT work well for you, we suggest you to enter an RFE (Request for Enhancement) for this functionality to be evaluated and implemented in future Maximo versions.

Check the steps below. 
 
1. From Maximo server go to: 
 [maximo-folder]\applications\maximo\maximouiweb\webmodule\webclient\skins\tivoli09\css 
 
Open the 'extended.css' file. Add the following parameter to the file and save it. 

#dijitEditorBody { 
 font-size: 20px 

 
2. Go to:  
[maximo-folder]\applications\maximo\maximouiweb\webmodule\webclient\css 

Open the 'extended.css' file. Add the following parameter to the file and save it. 

 
#dijitEditorBody { 
 font-size: 20px 

 
3. Rebuild/Redeploy the EAR files. 


4. Clear cache and retest issue scenario.

NOTE:  Also, we recommend you to upgrade your Maximo version to the latest FixPack available. More info, as below :

IV75207: THE DEFAULT FONTSIZE IN THE RICHTEXT EDITOR IS TOO SMALL. DESPITE HAVING A PICKER TO CHOOSE THE FONT SIZE. (The fix for this APAR is contained in Maximo Fix Pack 7.5.0.9)

http://www-01.ibm.com/support/docview.wss?uid=swg1IV75207

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

UID

ibm11112811