Text editor on Service Portal widget

Ashley Giannot2
Kilo Contributor

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.

6 REPLIES 6

I know this is an older post, but how did you include summernote? Do you have a walkthrough somewhere?

Hi Michael, 

You need to add the JS library as a dependency on your widget record, this can be done by adding either the CDN url or the raw JS file.

There are lots of resources online on how to add dependencies to widgets see below two articles I found that might help.

 

Service Portal Dependencies - Adding 3rd Party Libraries to your Widgets

Widget Dependencies

 

Summernote installation instructions