I’m encountering difficulties with saving rich text in a Multiple Lines of Text column within a SharePoint list using SPServices. Site URL is correct because “Title” and “URL” is saving in the list.

Here is my JavaScript function:

const SaveData =()=> {

var Title = $(‘#txtTitle’).val();
var Description = SP.Utilities.HttpUtility.htmlEncode($(‘#txtDescription’).summernote(‘code’));
var URL = $(‘#txtURL’).val();

var isValid = ValidateData();

if(isValid){

$().SPServices(  
{  
    operation: "UpdateListItems",  
    async: false,  
    webURL: url,  
    batchCmd: "New",  
    listName: "Customer-Priority",  
    valuepairs: [  
        ["Title", Title],
        ["Description", Description],
        ["URL", URL]                
    ], 
        
    completefunc: function(xData, Status){ 
             ClearControls();           
    }  
   });  
 }

}

Here is the list column I have created

Any solutions on how to successfully save rich text in a Multiple Lines of Text column within a SharePoint list would be greatly appreciated.

Thank you!

New contributor

Master Jojo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.