We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a87f492 commit 9802e98Copy full SHA for 9802e98
src/components/RichContenteditable/RichContenteditable.vue
@@ -250,7 +250,7 @@ export default {
250
// Where to inject the menu popup
251
menuContainer: this.menuContainer,
252
// Popup mention autocompletion templates
253
- menuItemTemplate: item => `${item.original.native} :${item.original.short_name}`,
+ menuItemTemplate: item => `<span class="tribute-container-emoji__item__emoji">${item.original.native}</span> :${item.original.short_name}`,
254
// Hide if no results
255
noMatchTemplate: () => t('No emoji found'),
256
// Display raw emoji along with its name
@@ -623,6 +623,10 @@ export default {
623
&:last-child {
624
margin-bottom: 0;
625
}
626
+
627
+ &__emoji {
628
+ padding-right: 8px;
629
+ }
630
631
632
.highlight {
0 commit comments