Is there a way to enable the 'codesample' button in tinyMCE?  


In ServiceNow there are two places that tinyMCE editor can be found:

  1. In the Platform specifically Knowledge
  2. In Service Portal

These are two separate iterations of tinyMCE.  TinyMCE found in the Platform does not support the 'codesample' button. 

Service Portal currently only supports the 'codesample' button which is on by default.  You can find this by going to an out of the box Service Portal and go to Community click on "Ask a Question" which will bring up the tinyMCE editor to write the question.

There you will see the 'codesample' button in the toolbar:

Applicable Versions

London, Madrid

Additional Information

Article Information

Last Updated:2019-05-21 11:59:10