Skip to content

fix tinymce overflow auto-hide#23418

Open
cconard96 wants to merge 1 commit intoglpi-project:11.0/bugfixesfrom
cconard96:fix/23417
Open

fix tinymce overflow auto-hide#23418
cconard96 wants to merge 1 commit intoglpi-project:11.0/bugfixesfrom
cconard96:fix/23417

Conversation

@cconard96
Copy link
Contributor

@cconard96 cconard96 commented Mar 9, 2026

Checklist before requesting a review

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.

Description

fixes #23417

The previous auto-hide fix was not restrictive enough.
Since TinyMCE editors are being loaded even before something is being edited, the editor has the chance to make a button active depending on the content. If a note has a link and the cursor position would be on that link, the link button would be "active". The auto-hide logic would then click this button which would bring up the Insert/Edit link modal any time the user clicked anywhere on the page.

This fix restricts the logic to only work on the "overflow-button" instead of any active button.

@cconard96 cconard96 requested review from Rom1-B and cedric-anne March 9, 2026 14:43
@cconard96 cconard96 self-assigned this Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The "Insert/Edit link" modal window opened multiple times.

2 participants