Need to customize TinyMCE Editor buttons in Service Portal toolbars (they appear hard-coded)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2023 08:18 AM
ServiceNow has a number of TinyMCE system properties, available in sys_properties.list, that allow customizing the toolbars in the TinyMCE editor. If you filter by "*glide.ui.html.editor" you'll find a suite of properties for customizing the HTML and TinyMCE editor toolbars, fonts, etc.
Service Portal/Employee Center appears to ignore ALL of these properties. Instead, it appears these properties are hard-coded in <instance_name>/scripts/js_includes_sp.jsx. Many OOB widgets utilize the <sp-tinymce-editor> directive, and that directive seems to call back to the js_includes_sp.jsx.
We have an approach of "don't customize for the sake of customizing" and "use out-of-the-box" as much as possible. So we try to avoid cloning/customizing widgets, etc. and utilize the OOB functionality. Changing the values of a property, for example, such as to add new font choices, add the ability to underline, etc. seems to be a much safer way of customizing the user experience rather than cloning/customizing widgets.
Unfortunately it seems the TinyMCE editor in Portal/Employee Center is locked and cannot be configured via any properties. Is there any way to write a small JS-include or Angular directive to override or "inject" additional properties when a widget is entered? For example, so we can add underline or font selection to TinyMCE?
In the Portal/Employee Center UI here is what team members see (very limited options):
In the Platform (aka Native or Desktop) UI, many more options are available:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2026 05:48 AM
Hi Hannes. Have you tried using the following? This can be placed in an angularjs directive for reusability and you can simply pass in the options you need via $scope.mceOptions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2026 10:09 PM
Hello @David Galagarza
Could you please elaborate your answer as I did not understand what you are trying to say here. I am still facing the same issue.