-
I'm sorry that's probably a noobish question but how can I use I'm using the this.modules = {
toolbar: null,
mention: {
mentionDenotationChars: ['#', '@'],
allowedChars: /^[A-Za-z\sÅÄÖÜåäöüß]*$/,
source: (searchTerm, renderList) => {
this.onSearch(searchTerm, renderList);
},
renderItem: (item, searchTerm) => {
console.log(item);
return `<span>test</span>`;
}
},
}; |
Beta Was this translation helpful? Give feedback.
Answered by
yaderick
May 10, 2024
Replies: 2 comments
-
False alarm - was a different issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
const memberName = document.createElement('span'); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
csculley
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
const memberName = document.createElement('span');
memberName.style.color = '#fff';
memberName.textContent = item.value;
return memberName