File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/components/RichContenteditable Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ export default {
250
250
// Where to inject the menu popup
251
251
menuContainer: this .menuContainer ,
252
252
// Popup mention autocompletion templates
253
- menuItemTemplate : item => ` ${ item .original .native } :${ item .original .short_name } ` ,
253
+ menuItemTemplate : item => ` <span class="tribute-container-emoji__item__emoji"> ${ item .original .native } </span> :${ item .original .short_name } ` ,
254
254
// Hide if no results
255
255
noMatchTemplate : () => t (' No emoji found' ),
256
256
// Display raw emoji along with its name
@@ -623,6 +623,10 @@ export default {
623
623
& : last- child {
624
624
margin- bottom: 0 ;
625
625
}
626
+
627
+ & __emoji {
628
+ padding- right: 8px ;
629
+ }
626
630
}
627
631
628
632
.highlight {
You can’t perform that action at this time.
0 commit comments