Skip to content

Navigation Menu

Sign in
Sign up

How to implement this cursor?这个光标怎么实现的? #172

Answered by big-camel
JIAFENG123 asked this question in Q&A
Discussion options

大佬们,这个编辑器很牛啊,我想请教下这个编辑器光标怎么实现的, 感谢大佬们
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!

You must be logged in to vote

使用 div 模拟光标的显示,然后再隐藏一个 textarea,需要输入的时候使用 textarea 接收输入的文本

Replies: 1 comment

Comment options

使用 div 模拟光标的显示,然后再隐藏一个 textarea,需要输入的时候使用 textarea 接收输入的文本

You must be logged in to vote
0 replies
Answer selected by byoungd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /