55 views

Description

Build information:
Paris

Based on the documentation:
Change the TinyMCE toolbar for a specific table
https://docs.servicenow.com/bundle/paris-platform-administration/page/administer/workspace/concept/tinymce.html#set-dictionary-attributes-workspace

The following two attributes can be used to change the toolbar:
editor.toolbar.line1
editor.toolbar.line2

Note, those attributes do not exist in "sys_schema_attribute" table. However the following attributes exist in that table and they were tested to change the toolbar and worked correctly, but no documentation confirms their functionality:
"tinymce_toolbar1" and "tinymce_toolbar2" 

Steps to Reproduce

1. Go to the incident table and create a HTML field
2. In the attribute field enter:
editor.toolbar.line1=bold italic underline

3. Save
4. Go to /incident_list.do and edit any record.

Expected behavior
The TinyMCE toolbar should display only tree icons based on the attribute.

Actual behavior
The TinyMCE toolbar displays the default icons.

Note, this attribute does not exist in "sys_schema_attribute" table. So it won't be displayed in the Attribute related list.
However the following attributes exist in that table and they were tested to change the toolbar and worked correctly, but no documentation confirms their functionality:
"tinymce_toolbar1" and "tinymce_toolbar2"

Workaround

This problem is currently under review. You can contact ServiceNow Technical Support or subscribe to this Known Error article by clicking the Subscribe button at the top right of this form to be notified when more information will become available. 

As possible workaround, use the following attributes: "tinymce_toolbar1" and "tinymce_toolbar2" 


Related Problem: PRB1444450

Seen In

SR - DevOps - DevOps Insights 1.4
SR - ITOM - Discovery and Service Mapping - 201908

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-11-15 10:11:41
Published:2020-11-06