Text editor on Service Portal widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2017 02:15 AM
I have a requirement for a text editor on the portal, similar to the "HTML Script" field type you see in email notifications. It needs similar functionality that the "HTML Script" field provides.
I know about some Service Portal functionality like <sp-record-picker>, is there something similar for the "HTML Script" field?
Trying to avoid a custom JS library for a text editor.
- Labels:
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2017 02:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2017 02:27 AM
Hi Gaurav,
Thank you for your reply, however I am creating a very custom Widget for a specific purpose and I need to add an inline text editor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2017 02:35 AM
Oh ok, I am afraid then you have to use external JS only to achieve it,
TinyMCE is the one ServiceNow uses so you might want to utilize the same.
https://www.tinymce.com/features/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2018 08:59 AM
Hi Guys,
Just as a follow up, I ended up including the summernote.js as it provides a highly customisation text editor for a portal widget.
https://summernote.org/
Kind Regards
Ashley Giannotti