AI Tools menu in CKEditor scrolls away when modifying settings in AI Tools of a Text Format

Created on 19 February 2025, 2 months ago

Problem/Motivation

While editing a text format and enabling AI Assistant in CKEditor, the AI Tools menu appears. However, when making any changes to AI Tools settings (e.g., enabling Tone or Summary), the page unexpectedly scrolls away. This forces users to manually scroll back to AI Tools and reopen collapsed sections, disrupting the user experience.

Steps to reproduce

  1. Navigate to Configuration > Content Authoring > Text formats and editors (/admin/config/content/formats).
  2. Edit a text format (e.g., Full HTML).
  3. Enable AI Assistant under the CKEditor settings.
  4. Scroll to the AI Tools section.
  5. Enable options like Tone or Summary under AI Tools.
  6. Observe that the page scrolls away unexpectedly, requiring manual scrolling to return to AI Tools.

Proposed resolution

  • Prevent automatic scrolling when modifying AI Tools settings.
  • Ensure AI Tools options remain expanded after making changes

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.1

Component

AI CKEditor

Created by

🇮🇳India annmarysruthy

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024