Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AiCommands in balloonToolbar not selectable #17277

Closed
poan1011 opened this issue Oct 17, 2024 · 1 comment · Fixed by #17206
Closed

AiCommands in balloonToolbar not selectable #17277

poan1011 opened this issue Oct 17, 2024 · 1 comment · Fixed by #17206
Assignees
Labels
type:bug This issue reports a buggy (incorrect) behavior.

Comments

@poan1011
Copy link

📝 Provide detailed reproduction steps (if any)

  1. Use the Classic Editor
  2. In the balloonToolbar add the "aiCommands"

✔️ Expected result

What is the expected result of the above steps?

When selecting a word in the editor the ballon toolbar appear showing the "AiCommands" button with a dropdown list of all the default command groups.

Image

When hovering over a command group the related commands will appear. The user can select a command like "Improve writing" by clicking on "Improve writing".
Image

❌ Actual result

When adding "AiCommands" in the ballon toolbar its not possible for the user to select a default command like "Improve writing". When the user is hovering over "Improve writing" the toolbar will close.

❓ Possible solution

If you have ideas, you can list them here. Otherwise, you can delete this section.

📃 Other details

  • Browser: Chrome
  • OS: Windows
  • First affected CKEditor version: 5
  • Installed CKEditor plugins:
    AccessibilityHelp,
    AIAssistant,
    Alignment,
    Autoformat,
    AutoImage,
    AutoLink,
    Autosave,
    BalloonToolbar,
    BlockQuote,
    Bold,
    CaseChange,
    CloudServices,
    Code,
    CodeBlock,
    Essentials,
    ExportPdf,
    ExportWord,
    FindAndReplace,
    FontBackgroundColor,
    FontColor,
    FontFamily,
    FontSize,
    FormatPainter,
    FullPage,
    GeneralHtmlSupport,
    Heading,
    HorizontalLine,
    HtmlComment,
    HtmlEmbed,
    ImageBlock,
    ImageCaption,
    ImageInline,
    ImageInsert,
    ImageInsertViaUrl,
    ImageResize,
    ImageStyle,
    ImageTextAlternative,
    ImageToolbar,
    ImageUpload,
    ImportWord,
    Indent,
    IndentBlock,
    Italic,
    Link,
    LinkImage,
    List,
    ListProperties,
    Markdown,
    MediaEmbed,
    MultiLevelList,
    OpenAITextAdapter,
    PageBreak,
    Paragraph,
    PasteFromMarkdownExperimental,
    PasteFromOffice,
    PasteFromOfficeEnhanced,
    PictureEditing,
    RemoveFormat,
    SelectAll,
    ShowBlocks,
    SpecialCharacters,
    SpecialCharactersArrows,
    SpecialCharactersCurrency,
    SpecialCharactersEssentials,
    SpecialCharactersLatin,
    SpecialCharactersMathematical,
    SpecialCharactersText,
    Strikethrough,
    Subscript,
    Superscript,
    Table,
    TableCaption,
    TableCellProperties,
    TableColumnResize,
    TableProperties,
    TableToolbar,
    TextPartLanguage,
    TextTransformation,
    TodoList,
    Underline,
    Undo,
    AWSTextAdapter,
    TrackChanges,
    TrackChangesData,
    Comments,
    UsersIntegration,

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

@poan1011 poan1011 added the type:bug This issue reports a buggy (incorrect) behavior. label Oct 17, 2024
@DawidKossowski
Copy link
Contributor

Thanks for reporting it. The fix is provided here: #17206.

oleq added a commit that referenced this issue Oct 22, 2024
Fix (ui): The dropdown menu component should not cause an editor blur if used in a `BalloonToolbar` while the user hovers a nested menu. Closes #17277.

Feature (utils): Made `FocusTracker` extendable with other `FocusTracker` instances to allow logical focus tracking across separate DOM sub-trees (see #17277)
@oleq oleq self-assigned this Oct 22, 2024
@CKEditorBot CKEditorBot added this to the iteration 79 milestone Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants