wiki: do not suggest bbcode if mimetype is text/plain
This commit is contained in:
parent
5aa0fe2bf0
commit
46b6415f5f
@ -455,8 +455,10 @@
|
||||
window.editor.on("input", function() {
|
||||
$('#save-page').removeClass('disabled');
|
||||
});
|
||||
{{if $mimeType == 'text/bbcode'}}
|
||||
window.editor.bbco_autocomplete('bbcode');
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
});
|
||||
|
||||
$(window).resize(function () {
|
||||
|
Reference in New Issue
Block a user