not all ACE keyboard shortcuts are supported

Created on 11 September 2024, 2 months ago

Problem/Motivation

One of the use cases for ACE is advanced features like find/replace and keyboard shortcut support for complex features. Not all of the shortcuts demonstrated at https://ace.c9.io/build/kitchen-sink.html seem to work within Drupal. I'm focusing on Ctrl-F rather than demonstrating an exhaustive list, but support is patchy.

Steps to reproduce

  • Edit content on Drupal (v10.2 in my case) configured to use the ACE editor.
  • Press Ctrl-F (or Cmd-F) - observe no find/replace box as one might see in

    Proposed resolution

  • Enable as many shortcuts as possible, and document them if possible.
  • If this isn't possible for some reason (and maybe useful anyway) add a configuration option to invoke ACE in alternative shortcut modes: for example vim mode would reduce reliance on modifiers.
    <!--break-->

    Remaining tasks

    • ✅ File an issue
    • ➖ Addition/Change/Update/Fix
    • ➖ Testing to ensure no regression
    • ➖ Automated unit testing coverage
    • ➖ Automated functional testing coverage
    • ➖ UX/UI designer responsibilities
    • ➖ Readability
    • ➖ Accessibility
    • ➖ Performance
    • ➖ Security
    • ➖ Documentation
    • ➖ Code review by maintainers
    • ➖ Full testing and approval
    • ➖ Credit contributors
    • ➖ Review with the product owner
    • ➖ Release notes snippet
    • ❌ Release

    API changes

    • N/A

    Data model changes

    • N/A

    Release notes snippet

    • N/A
  • 🐛 Bug report
    Status

    Active

    Version

    2.0

    Component

    User interface

    Created by

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

    Comments & Activities

    Not all content is available!

    It's likely this issue predates Contrib.social: some issue and comment data are missing.

    Production build 0.71.5 2024