Skip to content

Add toggle option to show/hide icon in Callout block#603

Open
arifpirxada wants to merge 1 commit into
yoopta-editor:masterfrom
arifpirxada:feat/toggle-callout-icon
Open

Add toggle option to show/hide icon in Callout block#603
arifpirxada wants to merge 1 commit into
yoopta-editor:masterfrom
arifpirxada:feat/toggle-callout-icon

Conversation

@arifpirxada

Copy link
Copy Markdown

Closes #601

Summary

This PR implements the feature requested in the linked issue, scoped to the @yoopta/themes-shadcn package. It adds a Icon Toggle Button in the Callout block settings popover that allows users to show or hide a themed icon on the left side of the callout.

Changes (@yoopta/themes-shadcn)

  • Added a Icon Toggle Button in the Callout block settings popover.
  • Icon is hidden by default, maintaining full backward compatibility with existing callout blocks

Before / After

Before: Callout block showed plain text with a colored left border — no icon, no theme control. Icons only shown in settings dropdown

Screenshot 2026-04-27 155453

After: A "Toggle" button appears in the block settings (unchecked by default). Toggling it shows or hides the Icon

Screenshot 2026-04-27 164422

@vercel

vercel Bot commented Apr 27, 2026

Copy link
Copy Markdown

@arifpirxada is attempting to deploy a commit to the dargo's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

[FEATURE] Add toggle option to show/hide icon in Callout block

1 participant