UX: Add class to text select menu when fast-editing (#24991)

This commit is contained in:
Jordan Vidrine 2023-12-20 13:54:59 -06:00 committed by GitHub
parent e18bb6e9fb
commit 547aafba4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -183,7 +183,11 @@ export default class PostTextSelectionToolbar extends Component {
<div
{{on "mousedown" this.trapEvents}}
{{on "mouseup" this.trapEvents}}
class={{concatClass "quote-button" "visible"}}
class={{concatClass
"quote-button"
"visible"
(if this.isFastEditing "fast-editing")
}}
{{this.appEventsListeners}}
>
<div class="buttons">