Disable Paste Formatting options popup while pasting content in to HTML fields

harsha328
Tera Contributor

Hi,

I wish to disable the Paste formatting options popup that appears while trying to paste content in to HTML fields (Ex: Text field on knowledge form). This popup gives an option to 'Keep formatting' or 'Remove formatting' to the user while pasting content. This could get annoying for users. We wish to disable this and default it to 'Remove formatting'.

By default 'TinyMCE' editor is being used for the HTML fields in Servicenow. The Paste formatting option is part of this editor. We don't want to switch the editor to 'htmlArea'.

Please suggest how this can be done.

Also, is there a way to set the default font size for the HTML fields?

Thanks,

Harsha

1 ACCEPTED SOLUTION

piusgood
Tera Contributor

Hi

There is now a solution with UI Macro available to enable/disable this functionality: https://hi.service-now.com/kb_view.do?sysparm_article=KB0661805

Regards
Pius

View solution in original post

3 REPLIES 3

Nishit Prasad
ServiceNow Employee
ServiceNow Employee

Hi Harsha,



Unfortunately, there is limited documentation on this popup feature (recently introduced in TinyMCE editors from Jakarta releases).



Currently, there is no documented method available for configuring this popup (neither resizing nor enabling/disabling). There are couple of enhancement requests that have been raised in HI portal to focus on the same.



Thanks,


Nishit


piusgood
Tera Contributor

Hi

There is now a solution with UI Macro available to enable/disable this functionality: https://hi.service-now.com/kb_view.do?sysparm_article=KB0661805

Regards
Pius

JV2
Tera Expert

Is there any way to remove the dialog AND set the paste formatting option to "Keep Formatting" by default?