Is it possible to customize TinyMCE HTML Editor?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2014 11:00 AM
The TinyMCE editor is the default for HTML fields. As TinyMCE is an Open Source project (TinyMCE - Develop) it looks like changes to the code are supported. I'm curious if anyone has made changes (to create custom buttons, for example, not just adding or removing existing buttons), and what the process would be to get the new code into ServiceNow, as TinyMCE is currently added as a plugin. I'm assuming Support would need to be involved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-26-2018 12:43 PM
Easier way to remove options is to just pull it out from the system property:
glide.ui.html.editor.v4.toolbar.line1
glide.ui.html.editor.v4.toolbar.line2

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2021 07:12 AM
As Janel stated, you can remove buttons via the system properties but if you only want to adjust for a specific field, you can adjust on the attributes of field. For example, here is the OOB setup for the editor on Knowledge (go to dictionary entry for the Article Body field on kb_knowledge):
editor.height=300,editor.plugins=table colorpicker textcolor link image media codemirror lists advlist fullscreen charmap directionality emoticons hr insertdatetime nonbreaking pagebreak print searchreplace wordcount anchor toc codesample visualblocks visualchars compat3x autolink align_listitems,editor.toolbar=fontselect fontsizeselect italic bold underline strikethrough forecolor backcolor pastetext removeformat | formatselect searchreplace undo redo | bullist numlist outdent indent alignleft aligncenter alignright | toc table link unlink image media codesample | code fullscreen | bold,encode_utf8=false,serializer=com.glide.script.TranslatedTextXMLSerializer |
by removing the "code" attribute, the button will no longer display on the editor:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2024 01:00 PM - edited ‎05-04-2024 01:04 PM
glide.ui.html.editor.v4.toolbar.line1
glide.ui.html.editor.v4.toolbar.line2