mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 15:30:39 +01:00
fixing buttons on mobile composer, and updating format so tags button only appears on mobile
This commit is contained in:
@@ -117,7 +117,7 @@ SocketModules.composer.stopNotifyTyping = function(socket, data) {
|
||||
SocketModules.composer.getFormattingOptions = function(socket, data, callback) {
|
||||
plugins.fireHook('filter:composer.formatting', {
|
||||
options: [
|
||||
// { className: 'fa fa-bold' } Just an example of what needs to be set via plugins
|
||||
{ name: 'tags', className: 'fa fa-tags', mobile: true }
|
||||
]
|
||||
}, function(err, payload) {
|
||||
callback(err, payload.options);
|
||||
|
||||
Reference in New Issue
Block a user