-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix(editor): polish code block controls #2603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
khoinguyenpham04
merged 23 commits into
codex/issue-2361-code-block-spec
from
codex/issue-2361-code-block-polish
Aug 27, 2026
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
bd61fcc
feat(editor): add admin code block controls
khoinguyenpham04 c26f3fe
feat(editor): match inline code block controls
khoinguyenpham04 4094467
fix(editor): keep inline code controls aligned and scoped
khoinguyenpham04 f73e3b0
fix(editor): refine code block overlay and copy controls
khoinguyenpham04 1ff9fff
fix(editor): harden clipboard fallback
khoinguyenpham04 be877c7
fix(editor): tighten code block spacing
khoinguyenpham04 7dbcade
fix(editor): compact language picker
khoinguyenpham04 b372b24
fix(editor): polish code block controls
khoinguyenpham04 d76774f
refactor(editor): simplify code block controls
khoinguyenpham04 52cb0ca
test(admin): preserve keyboard code controls
khoinguyenpham04 5bbe6c9
test(core): preserve keyboard code controls
khoinguyenpham04 9341402
docs(changeset): clarify code block controls
khoinguyenpham04 9451050
fix(admin): keep keyboard cancel from applying language
khoinguyenpham04 8176b4d
fix(editor): keep latest copy feedback
khoinguyenpham04 dc3d625
fix(editor): report copy failures
khoinguyenpham04 f8ecccf
test(editor): consolidate copy feedback coverage
khoinguyenpham04 50a1a19
style(test): format inline copy coverage
khoinguyenpham04 2951173
fix(editor): skip stale clipboard fallbacks
khoinguyenpham04 3786f10
style(editor): format clipboard guards
khoinguyenpham04 c833b7a
docs(changeset): clarify code block actions
khoinguyenpham04 8f36a31
Update .changeset/quiet-code-block-actions.md
khoinguyenpham04 f8ebd8f
fix(editor): smooth inline code controls
khoinguyenpham04 f78bc1b
test(e2e): focus code controls directly
khoinguyenpham04 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| "@emdash-cms/admin": patch | ||
| "emdash": patch | ||
| --- | ||
|
|
||
| Adds one-click copy actions to code-block controls in the admin and inline visual editors, and polishes the layout so controls stay usable on narrow screens and in right-to-left locales. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.