Skip to content

Ver / 1.1.3 - #52

Merged
mpertici-beapi merged 13 commits into
mainfrom
ver/1.1.3
Oct 2, 2026
Merged

mpertici-beapi merged 13 commits into
mainfrom
ver/1.1.3

Conversation

@mpertici-beapi

@mpertici-beapi mpertici-beapi commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Note

Low Risk
Focused editor and front-end link attribute changes with escaping and PHPUnit coverage; no auth or data-layer changes.

Overview
Release 1.1.3 improves how icon block links are configured in the editor and how they render on the front end.

The block gains a targetBlank attribute. The link popover now includes an “Open in a new tab” toggle (with updated layout/styles), and when a link already exists the toolbar offers separate Edit link and Remove link actions instead of a single toggle. Removing a link also clears targetBlank.

BlockRenderer outputs target="_blank" and rel="noopener noreferrer" when targetBlank is set, while preserving optional aria-label from the link label. French strings and POT entries were refreshed, and PHPUnit cases cover the new link markup.

Reviewed by Cursor Bugbot for commit e89a42e. Bugbot is set up for automated code reviews on this repo. Configure here.

stephane-gillot and others added 13 commits September 17, 2026 18:29
Release tags used by Playground git:directory must include
.wordpress-org/blueprints so the demo bootstrap can run.

Co-authored-by: Cursor <cursoragent@cursor.com>
feat(blueprint): setup blueprint for playground
- Introduced a new boolean attribute `targetBlank` to control link opening behavior.
- Updated the Edit component to manage the new `targetBlank` attribute.
- Enhanced the link URL popover with a toggle for opening links in a new tab.
- Implemented tests to verify that the `targetBlank` attribute correctly adds `target` and `rel` attributes to links.
- Added tests to ensure links without `targetBlank` do not include these attributes and that no link is produced when no URL is provided.
Feature / add link target support
- Added new translations for "Open in a new tab" and "Edit link"
chore(languages): update FR translations
Revert "feat(blueprint): setup blueprint for playground"
@mpertici-beapi
mpertici-beapi merged commit a4a9fb8 into main Oct 2, 2026
14 checks passed
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