Skip to content

refactor(editor): remove separate caption concept and unify image name#117

Merged
j4rviscmd merged 2 commits intomainfrom
remove-caption
Mar 29, 2026
Merged

refactor(editor): remove separate caption concept and unify image name#117
j4rviscmd merged 2 commits intomainfrom
remove-caption

Conversation

@j4rviscmd
Copy link
Copy Markdown
Owner

Summary

  • Remove CaptionButton and CaptionDialog components (caption editing UI)
  • Unify image block naming: users only interact with name; caption is auto-synced to name
  • RenameDialog now saves both name and caption props simultaneously
  • getImageNameFallback replaces getImageCaptionFallback, syncing caption = name during backfill

Context

Users were confused by having separate name and caption concepts for image blocks.
Since rename value can serve as caption, the caption editing UI is redundant.
This simplifies the mental model: only name matters, and caption stays synced behind the scenes.

@j4rviscmd j4rviscmd added the enhancement New feature or request label Mar 29, 2026
@j4rviscmd j4rviscmd merged commit d2c1265 into main Mar 29, 2026
2 checks passed
@j4rviscmd j4rviscmd deleted the remove-caption branch March 29, 2026 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant