summernote full example
Example: summernote @ mention
$('#summernote').summernote({
placeholder: 'Placeholder',
toolbar: [['style', ['style']]],
callbacks: {
summernoteAtMention: {
getSuggestions: = (value) => {
const userEmails = ['[email protected]', '[email protected]'];
return userEmails.filter((email) => {
return sample.includes(value) && sample !== value
});
},
},
},
})