Skip to content

Bundled Themes: Add a Dotted Rule block style to Ipsum - #16364

Draft
MaggieCabrera wants to merge 3 commits into
WordPress:trunkfrom
MaggieCabrera:ipsum/dotted-rule-block-style
Draft

MaggieCabrera wants to merge 3 commits into
WordPress:trunkfrom
MaggieCabrera:ipsum/dotted-rule-block-style

Conversation

@MaggieCabrera

@MaggieCabrera MaggieCabrera commented Dec 1, 2026 •

Copy link
Copy Markdown

For after 7.2. Adds a Dotted Rule block style to Ipsum for the rule beside the link in the Format Link pattern, so it can be turned on and off from the Group block's Styles panel. It started as WordPress/ipsum#260, held back from 7.2 because its title is a new string. In 7.2 the rule is a plain class instead (WordPress/ipsum#269).

Testing Instructions

  1. Add the Format Link pattern to a post. The dotted rule sits to the left of the link, and the Group's Styles panel has Dotted Rule selected.
  2. Set the site language to an RTL language such as Persian. The rule moves to the right of the link.
  3. Pick Default in the Styles panel. The rule goes away.

Trac ticket: https://core.trac.wordpress.org/ticket/66887

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Bringing the block style over from WordPress/ipsum#260 and writing this description; reviewed by me.

🤖 Generated with Claude Code


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Test using WordPress Playground

The changes in this pull request can previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time the link below is clicked.
  • Every time this pull request is updated, a new ZIP file containing all changes is created. If changes are not reflected in the Playground instance,
    it's possible that the most recent build failed, or has not completed. Check the list of workflow runs to be sure.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Test this pull request with WordPress Playground.

@MaggieCabrera
MaggieCabrera force-pushed the ipsum/dotted-rule-block-style branch from 151564b to f6d27a8 Compare December 1, 2026 10:28
MaggieCabrera and others added 3 commits December 1, 2026 11:30
In RTL, the Format Link pattern's link starts on the right, but its dotted rule stayed on the left. The rule now sits at the start of the line in both directions, through a Dotted Rule block style.

Synced from WordPress/ipsum#260.

See #66888.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Dotted Rule block style from the previous commit adds a translatable title, which can't go in during the 7.2 hard string freeze. The rule is a class in `style.css` again, under the same name, so the pattern doesn't change and the block style can come back after 7.2.

Synced from WordPress/ipsum#269.

See #66888.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The rule beside the link in the Format Link pattern becomes a Group
block style, so it can be turned on and off from the Styles panel. It
keeps the is-style-dotted-rule class, so the pattern and posts made
with it don't change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaggieCabrera
MaggieCabrera force-pushed the ipsum/dotted-rule-block-style branch from f6d27a8 to d39aa21 Compare December 1, 2026 10:31
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.

1 participant