FIX: Missing emoji button
This commit is contained in:
parent
d87c80836d
commit
46b61627cd
|
@ -4,8 +4,8 @@ export default {
|
|||
name: 'enable-emoji',
|
||||
after: 'inject-objects',
|
||||
|
||||
initialize: function(container) {
|
||||
var siteSettings = container.lookup('site-settings:main');
|
||||
initialize(container) {
|
||||
const siteSettings = container.lookup('site-settings:main');
|
||||
if (siteSettings.enable_emoji) {
|
||||
window.PagedownCustom.appendButtons.push({
|
||||
id: 'wmd-emoji-button',
|
||||
|
|
|
@ -4,7 +4,7 @@ body img.emoji {
|
|||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#wmd-emoji-button:before {
|
||||
.wmd-emoji-button:before {
|
||||
content: "\f118";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue