Skip to content

Editor link autocomplete doesn't work with keyboard #7078

@olafgrabienski

Description

@olafgrabienski

Description of the bug

Choosing an internal page in the link dialog with CKEditor or TinyMCE works only if you select a page from the suggestions with the mouse. If you select the page with the keyboard, the path won't be completed.

Steps To Reproduce

To reproduce the behavior:

  1. Create a page, and add some text.
  2. Select a passage of the text, and open the link dialog.
  3. Start to type the title of an existing page, e.g. of the About page.
  4. Use the arrow down key of your keyboard to highlight the page from the list of suggestions, and hit Enter.

Actual behavior

The link dialog gets closed, and the link is created, but the path isn't complete.
Result: <a href="/abo">About</a>

Expected behavior

The path gets completed without closing the dialog, as if you select a page using the mouse, and you have to save the dialog explicitely.
Result: <a href="/about">About</a>

Additional information

Add any other information that could help, such as:

  • Backdrop CMS version: 1.33.0, but experienced it also in older versions
  • Operating System: Mac OS
  • Browser(s): current Firefox and Chrome

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions