wiki: do not suggest bbcode if mimetype is text/plain

This commit is contained in:
Mario Vavti 2017-09-14 10:44:16 +02:00
parent 5aa0fe2bf0
commit 46b6415f5f

View File

@ -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 () {