Skip to content

Editor ignores first character typed #5852

Description

@jdotbdot

Current Behavior

Double click to edit a function.
Highlight some text.
Start typing, eg ABC.

You would expect the highlighted text to be replaced by ABC but in fact the A is ignored, only BC is recorded.

If you click in the text to set the cursor position, or just start typing, ABC is recorded as expected.

This behaviour is new to Node-red 5.0.0

Expected Behavior

No response

Steps To Reproduce

No response

Example flow

paste your flow here

Environment

  • Node-RED version: 5.0.0
  • Node.js version: 24.18.0
  • npm version:
  • Platform/OS: Linux 6.18.34+rpt-rpi-v8 arm64 LE
  • Browser: Firefox

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