Skip to content

Conversation

@jonathanbobel
Copy link
Contributor

Changes proposed in this pull request:

  • Added a new Image block type to the lexical editor with slug 'image' for inserting images into rich text.
  • Implemented width options: Full Width, Desktop (1024px), Tablet (640px, default), Mobile (480px), Mobile Small (320px), and Custom (with user-defined width).
  • Added alignment options (Left, Center, Right) that apply when width is not full.
  • Included accessibility: required image upload field and optional alt text (falls back to null alt text if not provided).
  • Registered the ImageBlock in the editor configuration alongside ProcessList, Accordion, and CardGrid blocks, making it available in all rich text fields.

Security considerations

None

@jonathanbobel jonathanbobel requested a review from a team as a code owner January 14, 2026 17:01
@jonathanbobel jonathanbobel self-assigned this Jan 14, 2026
Copy link
Contributor

@kevinsmaster5 kevinsmaster5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@jonathanbobel jonathanbobel merged commit 83b929e into main Jan 14, 2026
6 checks passed
@jonathanbobel jonathanbobel deleted the feat-add-image-size-capability branch January 14, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants