mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 15:21:24 +08:00
UX: Add class to text select menu when fast-editing (#24991)
This commit is contained in:
@ -183,7 +183,11 @@ export default class PostTextSelectionToolbar extends Component {
|
|||||||
<div
|
<div
|
||||||
{{on "mousedown" this.trapEvents}}
|
{{on "mousedown" this.trapEvents}}
|
||||||
{{on "mouseup" this.trapEvents}}
|
{{on "mouseup" this.trapEvents}}
|
||||||
class={{concatClass "quote-button" "visible"}}
|
class={{concatClass
|
||||||
|
"quote-button"
|
||||||
|
"visible"
|
||||||
|
(if this.isFastEditing "fast-editing")
|
||||||
|
}}
|
||||||
{{this.appEventsListeners}}
|
{{this.appEventsListeners}}
|
||||||
>
|
>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
|
Reference in New Issue
Block a user