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