Remove the toolbar in ckeditor history mode + history configurable

This commit is contained in:
yflory
2017-04-24 11:41:00 +02:00
parent 92ea03d7d9
commit 5fc2e4cf71
4 changed files with 17 additions and 19 deletions

View File

@@ -807,6 +807,10 @@ define([
});
break;
case 'history':
if (!AppConfig.enableHistory) {
button = $('<span>');
break;
}
button = $('<button>', {
title: Messages.historyButton,
'class': "fa fa-history",
@@ -816,7 +820,7 @@ define([
button.click(function () {
common.getHistory(data.histConfig);
});
};
}
break;
default:
button = $('<button>', {