Skip to content

Commit

Permalink
Simplified rendered structure of nested lists in beta editor (#17178)
Browse files Browse the repository at this point in the history
refs TryGhost/Product#1919
refs TryGhost/Koenig#796

Adjusts rendered output of nested lists to make styling easier (and more
typical) for theme developers.

Before:
```html
<ul>
  <li>one</li>
  <li>
    <ul>
      <li>one.one</li>
    </ul>
  </li>
</ul>
```

After:
```html
<ul>
  <li>one
    <ul>
      <li>one.one</li>
    </ul>
  </li>
</ul>
```
  • Loading branch information
kevinansfield committed Jul 3, 2023
1 parent 1388f1d commit 292663f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions ghost/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@
"@tryghost/kg-card-factory": "4.0.8",
"@tryghost/kg-default-atoms": "4.0.1",
"@tryghost/kg-default-cards": "9.1.0",
"@tryghost/kg-default-nodes": "0.1.4",
"@tryghost/kg-lexical-html-renderer": "0.2.4",
"@tryghost/kg-default-nodes": "0.1.5",
"@tryghost/kg-lexical-html-renderer": "0.3.0",
"@tryghost/kg-mobiledoc-html-renderer": "6.0.8",
"@tryghost/limit-service": "1.2.6",
"@tryghost/link-redirects": "0.0.0",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7060,10 +7060,10 @@
lodash "^4.17.21"
luxon "^3.0.0"

"@tryghost/kg-default-nodes@0.1.4", "@tryghost/kg-default-nodes@^0.1.4":
version "0.1.4"
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-nodes/-/kg-default-nodes-0.1.4.tgz#bd830eede1548286e78e2d86b0b3b19a8f04ab49"
integrity sha512-n1OFfOL5nI1dmZb5uS23z9hl8unS2wVit09+OEfyUvSqwX57zq1rruu61mdQG7vQ/g/w+HPS9aWvRQhn2dDzBQ==
"@tryghost/kg-default-nodes@0.1.5", "@tryghost/kg-default-nodes@^0.1.5":
version "0.1.5"
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-nodes/-/kg-default-nodes-0.1.5.tgz#21ceb2123a57d489a301e45e1cd6701f0d5ccf65"
integrity sha512-Fm5k9906F3mUpr1PRUBB7/yVW2UFsU8VBc8bw64GjchIDrJamUwHM9ubhpuPScG6B67l/upuEmSc01iOPcqaMA==
dependencies:
"@tryghost/kg-clean-basic-html" "^3.0.19"
"@tryghost/kg-markdown-html-renderer" "^6.0.8"
Expand All @@ -7073,18 +7073,18 @@
lodash "^4.17.21"
luxon "^3.3.0"

"@tryghost/kg-lexical-html-renderer@0.2.4":
version "0.2.4"
resolved "https://registry.yarnpkg.com/@tryghost/kg-lexical-html-renderer/-/kg-lexical-html-renderer-0.2.4.tgz#ac9b2cc3c1073ce5c27eb4790723360fbc420e82"
integrity sha512-Dtw9FQMRiFdIGckZNgqcJdiCG0V7Qc241gRsqaT2ZN6u6fnibLfAtmKYDwES+LrJOq7Duo72f9djgLsOXndCPw==
"@tryghost/kg-lexical-html-renderer@0.3.0":
version "0.3.0"
resolved "https://registry.yarnpkg.com/@tryghost/kg-lexical-html-renderer/-/kg-lexical-html-renderer-0.3.0.tgz#4323d222786f4bbc776c85361d038dfab6129588"
integrity sha512-Iv1bx6mED3KvZTqqclgMjgbLL0UC24jUwBd1AdJA98ha8coj8zxwNQweNK/uMYBejKEkmW7tmFQaHij4zPPQDA==
dependencies:
"@lexical/clipboard" "^0.11.0"
"@lexical/code" "^0.11.0"
"@lexical/headless" "^0.11.0"
"@lexical/link" "^0.11.0"
"@lexical/list" "^0.11.0"
"@lexical/rich-text" "^0.11.0"
"@tryghost/kg-default-nodes" "^0.1.4"
"@tryghost/kg-default-nodes" "^0.1.5"
jsdom "^22.1.0"
lexical "^0.11.0"
prettier "^2.7.1"
Expand Down

0 comments on commit 292663f

Please sign in to comment.