opentiny / opentiny/tiny-editor

🐛 [Bug]: 编辑器失焦情况下不应该出现 placeholder 提示

Open
#391 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
535
Forks
71
Avg merge
6h 50m
Merged PRs (30d)
2

Description

Version

latest

Link to minimal reproduction

当光标在空行的行首时,会出现 placeholder:Input / recall menu,当编辑器失焦(无光标时),就不应该再出现这个placeholder了,目前是会出现的
Image

Step to reproduce

如上

What is expected

No response

What is actually happening

No response

What is your project name

Wiki

Any additional comments (optional)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the Wiki project with the cursor at the start of an empty line, then blur the editor and trace where the “Input / recall menu” placeholder is rendered. Done means the placeholder remains visible while the editor is focused but disappears when focus is lost.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.