Answers for "summernote @ mention"

0

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
        });
      },
    },
  },
})
Posted by: Guest on April-24-2021

Browse Popular Code Answers by Language