Skip to content

Suppress affordance when Writing Tools is disabled - #1857

Merged
cyanzhong merged 1 commit into
mainfrom
develop
Nov 3, 2026
Merged

cyanzhong merged 1 commit into
mainfrom
develop

Conversation

@cyanzhong

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the change that hides the Writing Tools affordance when Writing Tools is disabled.

No open issues 🎉

What changed in this PR

Ensures the Writing Tools affordance stays hidden when Writing Tools is disabled, regardless of the configured affordance preference.

Changes:

  • Returns true from shouldSuppress when Writing Tools behavior is .none.
  • Adds a comment linking to the relevant WebKit change.
File Description
MarkEditMac/​Sources/​Main/​AppRuntimeConfig.swift Gives disabled Writing Tools behavior precedence over affordance preferences.

Review effort: Balanced

@cyanzhong
cyanzhong merged commit 39efa0e into main Nov 3, 2026
2 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.

2 participants