mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 18:52:14 +03:00
🐛 Fixed header cards not being linkable with #header-title
refs https://github.com/TryGhost/Team/issues/1316 Updates header card renderer so the `<h2>` and `<h3>` elements have slugified titles set on their `id` attributes to allow in-page and external #header-title anchor links. - bumps `@tryghost/kg-default-cards` including the header card id fix - bumps other `@tryghost/kg-*` packages that were released simultaneously - contains dependency updates and switch to `slugify()` from `@tryghost/kg-utils`
This commit is contained in:
parent
b2a5bc980e
commit
f410893f3e
@ -72,11 +72,11 @@
|
||||
"@tryghost/helpers": "1.1.56",
|
||||
"@tryghost/image-transform": "1.0.27",
|
||||
"@tryghost/job-manager": "0.8.19",
|
||||
"@tryghost/kg-card-factory": "3.1.1",
|
||||
"@tryghost/kg-card-factory": "3.1.2",
|
||||
"@tryghost/kg-default-atoms": "3.1.1",
|
||||
"@tryghost/kg-default-cards": "5.15.12",
|
||||
"@tryghost/kg-markdown-html-renderer": "5.1.1",
|
||||
"@tryghost/kg-mobiledoc-html-renderer": "5.3.2",
|
||||
"@tryghost/kg-default-cards": "5.16.0",
|
||||
"@tryghost/kg-markdown-html-renderer": "5.1.3",
|
||||
"@tryghost/kg-mobiledoc-html-renderer": "5.3.3",
|
||||
"@tryghost/limit-service": "1.0.9",
|
||||
"@tryghost/logging": "2.0.3",
|
||||
"@tryghost/magic-link": "1.0.17",
|
||||
|
48
yarn.lock
48
yarn.lock
@ -1478,10 +1478,10 @@
|
||||
fastq "^1.11.0"
|
||||
p-wait-for "^3.2.0"
|
||||
|
||||
"@tryghost/kg-card-factory@3.1.1":
|
||||
version "3.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-card-factory/-/kg-card-factory-3.1.1.tgz#71a07816a5dad79c37587c66f2c303c2a9eaed7a"
|
||||
integrity sha512-gSTXnhg44oHG3qA0c0bdbE6cebX56yHmaM077mZ8Ns7WJufpJ1xVRpj28oub26c0SX0yI4Z98BY06i6uuQ/Zzg==
|
||||
"@tryghost/kg-card-factory@3.1.2":
|
||||
version "3.1.2"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-card-factory/-/kg-card-factory-3.1.2.tgz#c34b6bd0338af12a8c08f63963747e577bbb31ae"
|
||||
integrity sha512-dk3nxPtKIHOQjEEA5ChOdTIo7LJAN0bPyILvLObTDgcek2Y4L/pa0ZKBkN/cKDMDM0/inyIsNMvnFuL9Hin23w==
|
||||
|
||||
"@tryghost/kg-clean-basic-html@^2.2.7":
|
||||
version "2.2.7"
|
||||
@ -1493,37 +1493,38 @@
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-atoms/-/kg-default-atoms-3.1.1.tgz#f69ce981a467c883dbfa91e659e2b3297ba914a7"
|
||||
integrity sha512-MrVp476N4LZhkblV1/soEyCMQ8v+SeH5lueJJtjXKxXMVqlHed4qa4jdFJ5e7lngZeBfJLkG/d05vT6accKv2A==
|
||||
|
||||
"@tryghost/kg-default-cards@5.15.12":
|
||||
version "5.15.12"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-cards/-/kg-default-cards-5.15.12.tgz#024b24bc09081e0d8a6e71b39c906adeb0197a15"
|
||||
integrity sha512-XbLppnuC396/wAnKbLB1QDKFpeQirkxSEBi6ITxHktklVu7HARsZjv/UexF4sScIvftWqu4uTiTsUUdAjZIUjw==
|
||||
"@tryghost/kg-default-cards@5.16.0":
|
||||
version "5.16.0"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-cards/-/kg-default-cards-5.16.0.tgz#b3d6258d114b2896ced36f3961c735cef01f3ddd"
|
||||
integrity sha512-rpa/bsiGjK9iA0KopswC/MsdYAMwZ+yZ8Ur4OWc2/v7P+PBTjnzP9aWBmrPGYzOpULDwH6sQhrVj6tICDY+tSA==
|
||||
dependencies:
|
||||
"@tryghost/kg-markdown-html-renderer" "^5.1.1"
|
||||
"@tryghost/kg-markdown-html-renderer" "^5.1.3"
|
||||
"@tryghost/url-utils" "^2.0.0"
|
||||
handlebars "^4.7.6"
|
||||
juice "^8.0.0"
|
||||
lodash "^4.17.21"
|
||||
luxon "^2.1.1"
|
||||
|
||||
"@tryghost/kg-markdown-html-renderer@5.1.1", "@tryghost/kg-markdown-html-renderer@^5.1.1":
|
||||
version "5.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-markdown-html-renderer/-/kg-markdown-html-renderer-5.1.1.tgz#bc10f9e7f489152120cde73998994e9b78316315"
|
||||
integrity sha512-b5gzGZDsjPai6SSE528e0Gep3m3Y541Otmu6/tP5yij4lyDvl7TALFu4oZQPREGd+d42hm/Y5jNISOlb360SNg==
|
||||
"@tryghost/kg-markdown-html-renderer@5.1.3", "@tryghost/kg-markdown-html-renderer@^5.1.3":
|
||||
version "5.1.3"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-markdown-html-renderer/-/kg-markdown-html-renderer-5.1.3.tgz#4b85d11d546f4c7b8ea3fb3b0bc6e903d4ca53ff"
|
||||
integrity sha512-/PFDrzhEfFn8cOlpUKI6hXQC2OSAAqhxSymIVnprsFph0bQ/5JMNA1HqlnTx1XDeLVT3Qr1cWbdj7E56MxxGtA==
|
||||
dependencies:
|
||||
"@tryghost/kg-utils" "^1.0.0"
|
||||
markdown-it "^12.2.0"
|
||||
markdown-it-footnote "^3.0.3"
|
||||
markdown-it-image-lazy-loading "^1.1.0"
|
||||
markdown-it-lazy-headers "^0.1.3"
|
||||
markdown-it-mark "^3.0.0"
|
||||
semver "^7.3.4"
|
||||
semver "^7.3.5"
|
||||
|
||||
"@tryghost/kg-mobiledoc-html-renderer@5.3.2":
|
||||
version "5.3.2"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-mobiledoc-html-renderer/-/kg-mobiledoc-html-renderer-5.3.2.tgz#24bca28af210335873ab782a7efbe472683240e4"
|
||||
integrity sha512-rGBAIMvlvGRWB7strog2PR1tbKJBpxMSKZCTUhSHxeDiNe1b4LLeKn8hUcvXf565DH72ORAbCazoNOEA3OZu9A==
|
||||
"@tryghost/kg-mobiledoc-html-renderer@5.3.3":
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-mobiledoc-html-renderer/-/kg-mobiledoc-html-renderer-5.3.3.tgz#8e738e716dbb0dc68421da587bcf6beebcc31ade"
|
||||
integrity sha512-Z4WkMfeHTHZnvldNzQV7uSqGkBtnunOCKU/yVtwGgZKHTcPfv9RfTStUS0dLQIOImKGxt2oBR1U3IKIyM77SUA==
|
||||
dependencies:
|
||||
"@tryghost/kg-utils" "^1.0.0"
|
||||
mobiledoc-dom-renderer "^0.7.0"
|
||||
semver "^7.3.4"
|
||||
simple-dom "^1.4.0"
|
||||
|
||||
"@tryghost/kg-parser-plugins@^2.11.3":
|
||||
@ -1533,6 +1534,13 @@
|
||||
dependencies:
|
||||
"@tryghost/kg-clean-basic-html" "^2.2.7"
|
||||
|
||||
"@tryghost/kg-utils@^1.0.0":
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-utils/-/kg-utils-1.0.0.tgz#763f90617b487eb17701174d66d201ac15c2fb82"
|
||||
integrity sha512-JqGHsDkfHdPNGyKsQbk2a77AHKKM0e3WB2hkLD+0xav9zT3MzQXThz28oXzdukgYP00REMR0jdZpZI/2fot8Mw==
|
||||
dependencies:
|
||||
semver "^7.3.5"
|
||||
|
||||
"@tryghost/limit-service@1.0.9":
|
||||
version "1.0.9"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/limit-service/-/limit-service-1.0.9.tgz#525f5b988319e27e036580100a2f67c8708e9d82"
|
||||
@ -10232,7 +10240,7 @@ secure-keys@^1.0.0:
|
||||
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
|
||||
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
|
||||
|
||||
semver@7.3.5, semver@^7.2.1, semver@^7.3.4, semver@^7.3.5:
|
||||
semver@7.3.5, semver@^7.2.1, semver@^7.3.5:
|
||||
version "7.3.5"
|
||||
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7"
|
||||
integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==
|
||||
|
Loading…
Reference in New Issue
Block a user