add option to hide the "Powered by CKEditor" banner

This commit is contained in:
zadam
2023-06-14 00:51:05 +02:00
parent 0496412f4a
commit 8d2958738f
6 changed files with 45 additions and 2 deletions

View File

@@ -29,6 +29,7 @@ function index(req, res) {
mainFontSize: parseInt(options.mainFontSize),
treeFontSize: parseInt(options.treeFontSize),
detailFontSize: parseInt(options.detailFontSize),
hidePoweredByCKEditor: options.hidePoweredByCKEditor === 'true',
maxEntityChangeIdAtLoad: sql.getValue("SELECT COALESCE(MAX(id), 0) FROM entity_changes"),
maxEntityChangeSyncIdAtLoad: sql.getValue("SELECT COALESCE(MAX(id), 0) FROM entity_changes WHERE isSynced = 1"),
instanceName: config.General ? config.General.instanceName : null,