ewen-lbh / smooth-cursorify

Applies a Microsoft Word-like smooth caret animation to multiple online editors
The Unlicense
31 stars 3 forks source link

Add support for social media (Reddit, Twitter, Etc) #4

Closed MIfoodie closed 7 months ago

ewen-lbh commented 7 months ago

Hi! Unfortunately both websites use conteneditable, which means that the browser cannot control the cursor (the operating system decides what is shown)

I unfortunately suspect that most social media websites use the same technique, since for simpler text input using contenteditable is generally good enough

The trick this extension uses works on Google Docs because Google basically re-implemented the text cursor themselves, since they had the requirement for complete control over the cursor (things like how the cursor slants when you switch to italic, etc)

sry〜