-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hello. is there a way for me to have multiple template buttons that have varying values?
So I could do something similar to the following:
$('#taBody').summernote({
codemirror: { // codemirror options
theme: 'monokai',
lineNumbers: true
},
toolbar: [
['style', ['bold', 'italic', 'underline', 'clear']],
['insert', ['template', 'template', 'codeview']]
],
template: {
path: '../Content/summernote/templates/', //path location
label: 'Recipient',
tooltip: 'Recipient Informatiom',
list: {
'Header': 'Header',
'FirstName': 'First Name', //Path .html name: Display Name
'LastName': 'Last Name',
'Address1': 'Address 1',
'Address2': 'Address 2',
'City': 'City',
'State': 'State',
'Zip': 'Zip'
}
},
template: {
path: '../Content/summernote/templates', //path location
label: 'Claims',
tooltip: 'Claim Informatiom',
list: {
'MailToAddress': 'Mail To',
'AmountDue': 'Amount Due', //Path .html name: Display Name
'SharesDue': 'Shares Due',
'CompanyName': 'Company Name',
'ClaimContact': 'Claim Contact',
'ClaimAddress1': 'Claim Address 1',
'ClaimCity': 'Claim City',
'ClaimState': 'Claim State',
'ClaimZip': 'Claim Zip'
}
},
height: 400
});`
Metadata
Metadata
Assignees
Labels
No labels