mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
added new hooks for rendering help messages in composer, removed markdown text from translation
This commit is contained in:
@@ -68,7 +68,11 @@ SocketModules.composer.editCheck = function(socket, pid, callback) {
|
||||
|
||||
SocketModules.composer.renderPreview = function(socket, content, callback) {
|
||||
plugins.fireHook('filter:post.parse', content, callback);
|
||||
}
|
||||
};
|
||||
|
||||
SocketModules.composer.renderHelp = function(socket, data, callback) {
|
||||
plugins.fireHook('filter:composer.help', '', callback);
|
||||
};
|
||||
|
||||
/* Chat */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user