Skip to content

[OP-19932] Ckeditor toolbar is partially offscreen on work package description - #129

Open
bsatarnejad wants to merge 1 commit into
masterfrom
op-19932-revision-dropdown
Open

bsatarnejad wants to merge 1 commit into
masterfrom
op-19932-revision-dropdown

Conversation

@bsatarnejad

Copy link
Copy Markdown

Ticket

https://community.openproject.org/wp/OP-19932

What are you trying to accomplish?

Fixes the positioning of the CKEditor content-revision dropdown when the toolbar is grouped or wrapped in a narrow editor.

The revision button can appear on either side of the toolbar depending on the available width. CKEditor’s default positioning considers the viewport rather than the editor boundary, which can cause the dropdown to extend outside the editor.

The dropdown now determines its direction when opened:

  • Buttons in the left half open toward the right.
  • Buttons in the right half open toward the left.

@bsatarnejad bsatarnejad self-assigned this Aug 19, 2026
@bsatarnejad bsatarnejad added bug Something isn't working needs review labels Aug 19, 2026
@myabc

myabc commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

unfortunately this will now needs some changes (i,e, migration to TS). apologies for the breakage due to #135, #136, #137. Ping me if you need a hand!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working needs review

Development

Successfully merging this pull request may close these issues.

2 participants