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:
parent
7a7c11c7ec
commit
08e436c4f3
2 changed files with 2 additions and 4 deletions
|
@ -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,
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue