Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

每行当没有文字的时候都可以显示 placeholder 应该怎么实现? #5814

Open
yjzzcao opened this issue Mar 29, 2024 · 0 comments

Comments

@yjzzcao
Copy link

yjzzcao commented Mar 29, 2024

功能描述

每行当没有文字的时候都可以显示 placeholder 应该怎么实现?

提炼几个功能点

  • 不同标签显示的 placeholder 可以不一样
  • placeholder 只有光标聚焦的时候才展示
  • 如果整个文档都没有文字,没有聚焦也展示 placeholder

原型图

image image image

可参考的案例

钉钉在线文档编辑模式

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant