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