jquery - Get css from text at the position of the cursor -


i'm trying wrap simple rte private purposes. i'd toggle bold/italic/underline buttons when user clicks in text. i've been reading several posts include selection either selected mouse or double click. jquery's select works on selection, , not point clicked. understand there's not css cursor location, select word user clicked.

how can css properties of word index clicked? i'm using div that's editable.

some of posts i've been reading:

  1. jquery select()
  2. get current word in paragraph on click event in jquery


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -