Skip to content

Add link support to Icon block with URL, target, and rel attributes#79086

Draft
prasadkarmalkar wants to merge 1 commit into
WordPress:trunkfrom
prasadkarmalkar:feat/add-link-icon-block
Draft

Add link support to Icon block with URL, target, and rel attributes#79086
prasadkarmalkar wants to merge 1 commit into
WordPress:trunkfrom
prasadkarmalkar:feat/add-link-icon-block

Conversation

@prasadkarmalkar

Copy link
Copy Markdown
Contributor

What?

Closes #79057

Why?

The Icon block allows users to insert and style an SVG icon, but it currently does not provide a way to add a link to the icon.

How?

Testing Instructions

Testing Instructions for Keyboard

Screenshots or screencast

Before After

Use of AI Tools

Yes - Claude Code

@github-actions github-actions Bot added the [Package] Block library /packages/block-library label Jun 10, 2026
@Mamaduka

Copy link
Copy Markdown
Member

Thanks for contributing, @prasadkarmalkar!

For a new issue (especially one labeled "Needs Decision"), I would recommend starting or joining a discussion before moving to code.

@prasadkarmalkar

Copy link
Copy Markdown
Contributor Author

@Mamaduka Thanks for the guidance! I just wanted to create a quick POC. I kept the PR as a draft. I'll pause on this for now and will resume once we conclude the discussion about the approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Block library /packages/block-library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add link support to the Icon block

2 participants