Skip to content

Fix: Remove double focus ring on inline text editing [TMZ-1084] - #702

Merged
Ntnelbaba merged 1 commit into
mainfrom
fix/inline-editor-double-focus-ring
Nov 1, 2026
Merged

Ntnelbaba merged 1 commit into
mainfrom
fix/inline-editor-double-focus-ring

Conversation

@Ntnelbaba

@Ntnelbaba Ntnelbaba commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

While inline-editing V4 Paragraph/Heading text in the Elementor editor, Hello Theme’s global :focus-visible styling stacked a white outer ring on top of Elementor’s own selection outline, producing a double border.

Change

Exclude [contenteditable] from the reset focus rule’s [tabindex] selector so TipTap’s contenteditable inline editor no longer receives the theme focus ring. Focus styling for links, buttons, form fields, and other focusable non-editable elements is unchanged.

Jira

TMZ-1084

Open in Web Open in Cursor 

✨ PR Description

1. Problem & Context

Prevents double focus rings on inline text editing by excluding contenteditable elements from the global focus ring styles (TMZ-1084).

2. What Changed (Where)

  • dev/scss/reset/_focus.scss: Added :not([contenteditable]) selector to the focus-visible rule.

Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how

TipTap inline editor sets tabindex="0" on contenteditable elements;
Hello reset box-shadow caused a double focus ring with Elementor's outline.

Co-authored-by: Netanel Baba <Ntnelbaba@users.noreply.github.com>
@Ntnelbaba Ntnelbaba added the cp_3.5 label Nov 1, 2026 — with Cursor
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

Hello Elementor Build

Last updated at: 20261101.0902
Version: 3.5.1

✅ Hello Elementor build is ready for download.

You can download the latest build from the link below:

🔗 hello-elementor.3.5.1.zip

The build is available for 7 days.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

WordPress Theme Check

Status: passed (exit code 0)

Ran Theme Check against the packaged hello-elementor zip.

ℹ Starting 'bash hello-elementor-config/theme-check.sh' on the cli container. 

Installing Theme Check (20260901)
Downloading installation package from https://downloads.wordpress.org/plugin/theme-check.20260901.zip...
Unpacking the package...
Installing the plugin...
Removing the old version of the plugin...
Plugin updated successfully.
Activating 'theme-check'...
Plugin 'theme-check' activated.
Success: Installed 1 of 1 plugins.
Unpacking the package...
Installing the theme...
Removing the old version of the theme...
Theme updated successfully.
Activating 'hello-elementor'...
Success: Switched to 'Hello Elementor' theme.
Success: Installed 1 of 1 themes.
type	value
INFO	Themes that use the tag accessibility-ready will need to undergo an accessibility review. See https://make.wordpress.org/themes/handbook/review/accessibility/
INFO	Only one text-domain is being used in this theme. Make sure it matches the theme's slug correctly so that the theme will be compatible with WordPress.org language packs. The domain found is hello-elementor.
RECOMMENDED	No reference to add_theme_support( "custom-header", $args ) was found in the theme. It is recommended that the theme implement this functionality if using an image for the header.
RECOMMENDED	No reference to add_theme_support( "custom-background", $args ) was found in the theme. If the theme uses background images or solid colors for the background, then it is recommended that the theme implement this functionality.
RECOMMENDED	This theme contains no sidebars/widget areas. See Widgets API
✔ Ran `bash hello-elementor-config/theme-check.sh` in 'cli'. (in 2s 430ms)

@Ntnelbaba Ntnelbaba changed the title Fix: Remove double focus ring on inline text editing [ED-26072] Fix: Remove double focus ring on inline text editing [TMZ-1084] Nov 1, 2026
@Ntnelbaba
Ntnelbaba merged commit 87749dd into main Nov 1, 2026
28 checks passed
@Ntnelbaba
Ntnelbaba deleted the fix/inline-editor-double-focus-ring branch November 1, 2026 14:58
Ntnelbaba added a commit that referenced this pull request Nov 1, 2026
…702) (#703)

TipTap inline editor sets tabindex="0" on contenteditable elements;
Hello reset box-shadow caused a double focus ring with Elementor's outline.

Co-authored-by: Netanel Baba <50736016+Ntnelbaba@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Netanel Baba <Ntnelbaba@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
playground-preview — 2b44c0c5 Deployed Nov 1, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants