Open andershermansen opened 7 hours ago
I did a git bisect:
81a972d966bc25b04dbd652647af1ef03341d942 is the first bad commit
commit 81a972d966bc25b04dbd652647af1ef03341d942
Author: Germán Jabloñski <43938777+GermanJablo@users.noreply.github.com>
Date: Fri Sep 20 15:42:30 2024 -0300
chore(richtext-lexical): add strictNullChecks to the richtext-lexical package (#8295)
This PR addresses around 500 TypeScript errors by enabling
strictNullChecks in the richtext-lexical package. In the process,
several bugs were identified and fixed.
In some cases, I applied non-null assertions where necessary, although
there may be room for further type refinement in the future. The focus
of this PR is to resolve the immediate issues without introducing
additional technical debt, rather than aiming for perfect type
definitions at this stage.
---------
Co-authored-by: Alessio Gravili <alessio@gravili.de>
@GermanJablo @AlessioGr
How strange, I can't reproduce it:
https://github.com/user-attachments/assets/cb649a22-a1a8-48f9-b169-ff9b55ac68bf
@GermanJablo what do you mean you can not reproduce? The video is showing the shimmer-effect only and not the content in the block.
Do the same thing in one of the existing documents, and you will see the difference.
How strange, I can't reproduce it:
Your video does seem to reproduce it though (the blocks are just shimmering)
Oh yes, sorry, I don’t know what I’m saying! I'm going to work on this right now.
Link to reproduction
http://localhost:3000/admin/collections/rich-text-fields/create
Environment Info
Describe the Bug
Can not add custom blocks in lexical field in a new document.
This worked fine in beta 107, does not work in 108.
Reproduction Steps
Can be reproduced in payload repo: Run:
pnpm dev fields
Go tohttp://localhost:3000/admin/collections/rich-text-fields/create
Add any of these custom blocks to the new document:Expected: The block to show
Actual: Just showing shimmer-effect/loader
Adapters and Plugins
No response