mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
added new hooks for rendering help messages in composer, removed markdown text from translation
This commit is contained in:
@@ -638,6 +638,13 @@ define(['taskbar'], function(taskbar) {
|
||||
}
|
||||
});
|
||||
|
||||
socket.emit('modules.composer.renderHelp', function(err, html) {
|
||||
if (html && html.length > 0) {
|
||||
postContainer.find('.help').html(html);
|
||||
postContainer.find('[data-pane=".tab-help"]').parent().removeClass('hidden');
|
||||
}
|
||||
});
|
||||
|
||||
$(window).trigger('action:composer.loaded', {
|
||||
post_uuid: post_uuid
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user