Skip to content

The editor cursor is stuck at the first position and can’t be moved. #7979

@ruibaby

Description

@ruibaby

Prerequisites

  • I have searched for related issues in the issues list.
  • This is an issue with the Halo project itself. If it is not an issue with the project itself(For example: Installation and deployment issues.), it is recommended to submit it in the Discussions.
  • I have tried disabling all plugins to rule out plugins as the cause of the problem.
  • If it is an issue with plugins and themes, please submit it in the respective plugin and theme repositories.

System information

What is the project operation method?

Docker

What happened?

I deployed the latest main branch and noticed that after opening any post, the cursor can’t move properly. There are also some errors showing up in the console.

editor.0f688c18.js:3 Uncaught RangeError: Position -1 out of range
    at e.resolve (editor.0f688c18.js:3:74197)
    at e.resolveCached (editor.0f688c18.js:3:74569)
    at e.resolve (editor.0f688c18.js:3:77081)
    at new Sm (editor.0f688c18.js:11:9650)
    at $p.mousedown (editor.0f688c18.js:11:9248)
    at e.dom.addEventListener.e.input.eventHandlers.<computed> (editor.0f688c18.js:11:4923)

Reproduce Steps

No response

Relevant log output

Additional information

No response

Metadata

Metadata

Assignees

Labels

area/editorIssues or PRs related to the Editorkind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions