Skip to content

Can't refocus on pad after interacting with menu bar #6781

@jackflips

Description

@jackflips

Describe the bug
After selecting a few font size or style or color using ep_font_color3 or ep_font_family, I'm unable to continue typing without clicking back in the document. I've tried calling editorInfo.ace_focus() from hooks in those plugins, but this doesn't refocus the caret in the document.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

  • Etherpad version: 2.2.6
  • OS: OSX
  • Node.js version v23.3.0
  • npm version (npm --version): 10.9.0
  • Is the server free of plugins: plugins: ep_font_color3, ep_font_family

Desktop (please complete the following information):

  • OS: OSX
  • Browser: Chrome
  • Version 129.0.6668.100

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions