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 {
250250 // Where to inject the menu popup
251251 menuContainer: this .menuContainer ,
252252 // 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 } ` ,
254254 // Hide if no results
255255 noMatchTemplate : () => t (' No emoji found' ),
256256 // Display raw emoji along with its name
@@ -623,6 +623,10 @@ export default {
623623 & : last- child {
624624 margin- bottom: 0 ;
625625 }
626+
627+ & __emoji {
628+ padding- right: 8px ;
629+ }
626630 }
627631
628632 .highlight {
You can’t perform that action at this time.
0 commit comments