-
Notifications
You must be signed in to change notification settings - Fork 125
How to implement this cursor?这个光标怎么实现的? #172
Answered
by
big-camel
JIAFENG123
asked this question in
Q&A
大佬们,这个编辑器很牛啊,我想请教下这个编辑器光标怎么实现的, 感谢大佬们
Handsome guy, this editor is awesome. I would like to know how to implement the cursor in this editor. Please give me some advice. thanks!
All reactions
Answered by
big-camel
Mar 15, 2024
使用 div 模拟光标的显示,然后再隐藏一个 textarea,需要输入的时候使用 textarea 接收输入的文本
Replies: 1 comment
使用 div 模拟光标的显示,然后再隐藏一个 textarea,需要输入的时候使用 textarea 接收输入的文本
All reactions
0 replies
Answer selected by
byoungd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment