Completely removed CKEditor 5

Some fixes of bugs from testing in production env.
This commit is contained in:
Tomas Bures 2018-11-24 00:48:41 -05:00
parent d459f7cfed
commit 43c6b58793
17 changed files with 2901 additions and 440 deletions

View file

@ -782,12 +782,12 @@ async function migrateSettings(knex) {
await knex('settings').del();
await knex('settings').insert([
{ key: 'uaCode', value: settings.uaCode },
{ key: 'shoutout', value: settings.shoutout },
{ key: 'adminEmail', value: settings.adminEmail },
{ key: 'defaultHomepage', value: settings.defaultHomepage },
{ key: 'pgpPassphrase', value: settings.pgpPassphrase },
{ key: 'pgpPrivateKey', value: settings.pgpPrivateKey }
{ key: 'uaCode', value: settings.uaCode || '' },
{ key: 'shoutout', value: settings.shoutout || '' },
{ key: 'adminEmail', value: settings.adminEmail || '' },
{ key: 'defaultHomepage', value: settings.defaultHomepage || '' },
{ key: 'pgpPassphrase', value: settings.pgpPassphrase || '' },
{ key: 'pgpPrivateKey', value: settings.pgpPrivateKey || '' }
]);
}
@ -1284,4 +1284,4 @@ exports.up = (knex, Promise) => (async() => {
})();
exports.down = (knex, Promise) => (async() => {
})();
})();