Skip to content

Commit

Permalink
feat(richtext-lexical)!: Update lexical from 0.12.6 to 0.13.1, port o…
Browse files Browse the repository at this point in the history
…ver all useful changes from playground (#5066)

* feat(richtext-lexical): Update lexical from 0.12.6 to 0.13.1, port over all useful changes from playground

* chore: upgrade lexical version used in monorepo
  • Loading branch information
AlessioGr authored and DanRibbens committed Feb 27, 2024
1 parent 5facd84 commit fcc56db
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
18 changes: 9 additions & 9 deletions packages/richtext-lexical/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
},
"dependencies": {
"@faceless-ui/modal": "2.0.1",
"@lexical/headless": "0.12.6",
"@lexical/link": "0.12.6",
"@lexical/list": "0.12.6",
"@lexical/mark": "0.12.6",
"@lexical/markdown": "0.12.6",
"@lexical/react": "0.12.6",
"@lexical/rich-text": "0.12.6",
"@lexical/selection": "0.12.6",
"@lexical/utils": "0.12.6",
"@lexical/headless": "0.13.1",
"@lexical/link": "0.13.1",
"@lexical/list": "0.13.1",
"@lexical/mark": "0.13.1",
"@lexical/markdown": "0.13.1",
"@lexical/react": "0.13.1",
"@lexical/rich-text": "0.13.1",
"@lexical/selection": "0.13.1",
"@lexical/utils": "0.13.1",
"@payloadcms/translations": "workspace:*",
"@payloadcms/ui": "workspace:*",
"bson-objectid": "2.0.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,9 @@ export function LinkEditor({
} else {
// internal link
setLinkUrl(
`/admin/collections/${linkParent.getFields()?.doc?.relationTo}/${linkParent.getFields()
?.doc?.value}`,
`/admin/collections/${linkParent.getFields()?.doc?.relationTo}/${
linkParent.getFields()?.doc?.value
}`,
)

const relatedField = config.collections.find(
Expand Down

0 comments on commit fcc56db

Please sign in to comment.