Open rihakd opened 9 years ago
To make sure that the program flow is satisfied when working with the editable window, on each click check the position of the cursor relative to its parent Node. If the parent is the div => we are outside a word. If parent is span => we are inside word, so this should be the easy case. Although what about the case when we click on index one inside a span.
In this comment I want discuss a few scenarios in the editable area:
LINKS: