Subscribe to my Feed, follow me on Twitter, recommend me on Working With Rails or see my code on GitHub
Comment
You're viewing a comment to the page Sanskrit
Subscribe to my Feed, follow me on Twitter, recommend me on Working With Rails or see my code on GitHub
You're viewing a comment to the page Sanskrit
The ole shit liner is coming to port, and I'll be there to tie her up
By Tore Darell at Fri 14 Mar 21:23
Steven: If I’m not misunderstanding you, I think it already does what you want. There’s a problem with how it works, however, because when you double click a word, the selection includes the surrounding tags which are used to determine if it’s currently “inside” a particular style type (i.e.
emorb). If you manually mark the word by dragging over it or position the cursor inside the word boundaries, it will add the “active” class to the link.The link thing kind of has the same problem, because you’re supposed to edit the link text inside the window, but again if you double click it will replace the entire tag, so you have to manually select the word in order to be inside the
atag..This kind of sucks, but I haven’t had the time to look into it yet..