Open deckchairlabs opened 3 months ago
Describe the bug
The display of "inline blocks" previews in the portable text editor need improvement.
To Reproduce
Steps to reproduce the behavior:
Add any kind of "inline block" to a portable text editor and observe the result.
Expected behavior
It would be ideal if the default preview for "inline blocks" would match the line-height of the surrounding text.
Screenshots
Which versions of Sanity are you using?
@sanity/cli (global) 3.53.0 (up to date) @sanity/icons 3.3.1 (up to date) @sanity/image-url 1.0.2 (up to date) @sanity/orderable-document-list 1.2.1 (up to date) @sanity/preview-url-secret 1.6.19 (up to date) @sanity/rich-date-input 3.0.4 (up to date) @sanity/ui 2.8.8 (up to date) @sanity/vision 3.53.0 (up to date) sanity 3.53.0 (up to date)
Which versions of Node.js / npm are you running?
10.8.1 v20.16.0
I can also confirm that removing the custom icon, doesn't improve things
Describe the bug
The display of "inline blocks" previews in the portable text editor need improvement.
To Reproduce
Steps to reproduce the behavior:
Add any kind of "inline block" to a portable text editor and observe the result.
Expected behavior
It would be ideal if the default preview for "inline blocks" would match the line-height of the surrounding text.
Screenshots
Which versions of Sanity are you using?
Which versions of Node.js / npm are you running?