0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Bumped comments-ui to v0.13

no issue

- Use comments-ui v0.13
- Removed styles option from comments (no longer used starting from v0.13)
This commit is contained in:
Simon Backx 2023-08-24 10:52:46 +02:00 committed by Simon Backx
parent 7a7c11c7ec
commit 08e436c4f3
2 changed files with 2 additions and 4 deletions

View file

@ -50,7 +50,7 @@ module.exports = async function comments(options) {
}
const frontendKey = await getFrontendKey();
const {scriptUrl, stylesUrl} = getFrontendAppConfig('comments');
const {scriptUrl} = getFrontendAppConfig('comments');
const data = {
locale: labs.isSet('i18n') ? (settingsCache.get('locale') || 'en') : undefined,
@ -58,7 +58,6 @@ module.exports = async function comments(options) {
api: urlUtils.urlFor('api', {type: 'content'}, true),
admin: urlUtils.urlFor('admin', true),
key: frontendKey,
styles: stylesUrl,
title: title,
count: count,
'post-id': this.id,

View file

@ -195,8 +195,7 @@
},
"comments": {
"url": "https://cdn.jsdelivr.net/ghost/comments-ui@~{version}/umd/comments-ui.min.js",
"styles": "https://cdn.jsdelivr.net/ghost/comments-ui@~{version}/umd/main.css",
"version": "0.12"
"version": "0.13"
},
"editor": {
"url": "https://cdn.jsdelivr.net/ghost/koenig-lexical@~{version}/dist/koenig-lexical.umd.js",