What is the "plus" and "minus" sign for the HTML type field and is it possible to hide it or remove?

Rain Vaine
Kilo Sage

Hello,

Do any of you have any idea on what is the "plus" and "minus" sign at the top of every html type field. Based on my trial and error it seems that it is not dependent on TinyMCE or htmlArea since it is present even if I change the editor to either of the two. 

RainVaine_0-1670287575155.png

It seems that it keeps appearing even if our field is read only but when I tried it in my PDI it is hidden. Is there other way to hide this plus and minus icon?

Thanks

1 ACCEPTED SOLUTION

They were there when we had our instances first provisioned on Eureka.  I think around Kingston or Madrid I did not need the client script any longer and I could just set the html field to read-only.

View solution in original post

5 REPLIES 5

SanjivMeher
Kilo Patron
Kilo Patron

To change the html box size. Minus to reduce the height and plus to increase the height of the html box.


Please mark this response as correct or helpful if it assisted you with your question.

Yes I have also observed that, but do you have any idea on any documentations regarding this buttons? or any resource about this?

 

I tried it on my PDI and another sub-prod instance and setting the field to read-only with a UI Policy or setting the html field read-only at the field property level by clicking the check box hid the plus and minus.

DavidWhaley_0-1670296427197.png

 

On earlier versions (Eureka, Fuji) I had to create an onLoad client script to hide the frame and plus/minus buttons and this worked.  I have had it disabled for a while now and I am currently on San Diego

 

 

function onLoad() {

g_form.setReadOnly('YOURFIELDNAME', true);
	
   var sheet = window.document.styleSheets[0];
   sheet.insertRule('.mce-toolbar-grp { display: none !important; }', sheet.cssRules.length);
   sheet.addRule('.mce-toolbar-grp ', 'display: none !important;', -1); // IE likes to be different


}

 

 

Are you sure there are no other client scripts or UI policies doing anything to the field?

Hello,
Thanks for the reply. Yes as I have checked it, there is no other scripts that manipulates the description field aside from the UI policy that set the field to read-only if the state of the incident is not new. 

Do you have any idea when are this UI components added? or on what versions where they added?


Thanks,

Regards