Skip to content

FEATURE: rich editor link ui for editing it #32583

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
merged 20 commits into from
Jun 11, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
DEV: Address PR comments
  • Loading branch information
renato committed Jun 10, 2025
commit e02cd2ebe397246b341f5ecdab649783a475dd08
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ export default class ComposerToolbarButtons extends Component {
);
}

get rovingButtonBar() {
return this.args.rovingButtonBar || this.args.data.rovingButtonBar;
}

<template>
{{#each @data.groups key="group" as |group|}}
{{#each group.buttons key="id" as |button|}}
Expand All @@ -40,7 +44,7 @@ export default class ComposerToolbarButtons extends Component {
class={{concatClass "btn no-text btn-icon" button.className}}
title={{button.title}}
tabindex={{this.tabIndex button}}
{{on "keydown" (or @rovingButtonBar @data.rovingButtonBar)}}
{{on "keydown" this.rovingButtonBar}}
>
{{icon button.icon}}
</a>
Expand All @@ -50,7 +54,7 @@ export default class ComposerToolbarButtons extends Component {
@onChange={{button.popupMenu.action}}
@onOpen={{fn button.action button}}
@tabindex={{this.tabIndex button}}
@onKeydown={{or @rovingButtonBar @data.rovingButtonBar}}
@onKeydown={{this.rovingButtonBar}}
@options={{hash icon=button.icon focusAfterOnChange=false}}
class={{button.className}}
/>
Expand All @@ -63,7 +67,7 @@ export default class ComposerToolbarButtons extends Component {
@label={{button.label}}
@icon={{button.icon}}
@preventFocus={{button.preventFocus}}
@onKeyDown={{or @rovingButtonBar @data.rovingButtonBar}}
@onKeyDown={{this.rovingButtonBar}}
tabindex={{this.tabIndex button}}
class={{button.className}}
/>
Expand Down
Loading
Loading