Skip to content

Commit

Permalink
Ajoute les smiley popcorn et bounce dans les menus déroulants de l'éd…
Browse files Browse the repository at this point in the history
…iteur (#6306)
  • Loading branch information
NightProg authored May 21, 2022
1 parent 53fe0a0 commit 1e0aae2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
16 changes: 16 additions & 0 deletions assets/js/editor-new.js
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,22 @@
},
className: 'emoji ange',
title: ':ange:'
},
{
name: 'char9',
action: (e) => {
toggleEmoji(e.codemirror, ':popcorn:')
},
className: 'emoji popcorn',
title: ':popcorn:'
},
{
name: 'char10',
action: (e) => {
toggleEmoji(e.codemirror, ':bounce:')
},
className: 'emoji bounce',
title: ':bounce:'
}
]
},
Expand Down
6 changes: 6 additions & 0 deletions assets/scss/components/_editor-new.scss
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@
&.zorro {
background: url(/static/smileys/svg/zorro.svg) no-repeat;
}
&.popcorn {
background: url(/static/smileys/svg/popcorn.svg) no-repeat;
}
&.bounce {
background: url(/static/smileys/svg/bounce.svg) no-repeat;
}
}
&.bloc_information {
color: #03a9f4;
Expand Down

0 comments on commit 1e0aae2

Please sign in to comment.