# Bug AA-241 - Assistant button leaves no room for formatting buttons in narrow editors

Project: Stream Agents & Assistants
Status: merged
URL: https://community.openproject.org/work_packages/AA-241

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Artificial Intelligence / AI text helper (AITH) |
| Target versions | 18.0.0 |
| Observed in versions | 18.0.0 |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager | Dominic Bräunlein |
| Developers | Dominic Bräunlein |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Work |  |
| Labor costs |  |

## Description

**Summary**

In narrow editors, such as a work package in the split view, the Assistant split button shows the full action name. CKEditor then moves the formatting buttons into &quot;Show more items&quot;. With a long action name, the toolbar shows only &quot;Show more items&quot; and the Assistant.

<br>

**Steps to reproduce**

Precondition: AI text actions are enabled. One action has a long name, for example &quot;Proofread but very long&quot;.

1.  Open a work package list and open a work package in the split view.
    
2.  Click into the description to edit it.
    
3.  Run the action with the long name once, so the Assistant button shows it.
    

**Actual behavior**

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/927175/content"></div></figure>

*   The Assistant button shows &quot;Proofread but very long …&quot; and takes most of the toolbar.
    
*   Paragraph, bold, italic and the other formatting buttons are only reachable through &quot;Show more items&quot;. In the narrower split view, the toolbar shows only &quot;Show more items&quot; and the Assistant.
    
*   When the label is hidden, the sparkle part keeps the padding of a text button and is wider than the other icon buttons.
    

**Expected behavior**

*   In narrow toolbars the Assistant shows only the sparkle and the arrow, so formatting buttons stay in the toolbar. The tooltip names the action a click runs.
    
*   In wide toolbars the Assistant shows the action name.
    
*   The icon-only sparkle part is the same size as the other icon buttons.
