Skip to content

Conversation

@giesse
Copy link

@giesse giesse commented Apr 27, 2013

These two commits make the plugin compatible with jQuery 1.9 by removing the reference to $.browser, and move the tag list dropdown close to the tag being edited by the user.

I'm sure more tweaking is necessary but I think it can be a start. Please let me know if any changes are needed.

Gabriele Santilli added 2 commits April 27, 2013 18:51
$.browser has been deprecated for a while, and dropped from
jQuery 1.9. The code was using it to deal with browser differences
about text selection handling; references to $.browser have been
removed, and text selection handling has been enhanced to handle
all browsers (by using code from the jQuery.selection plugin).

More testing and tweaking may be required.
The tag list dropdown used to always appear at the bottom of the
text area; this is undesirable if the text area gets big and you
are editing a tag at the top of the text.

These changes move the dropdown close to the tag being edited
by the user.

This code is a bit kludgy and may require further tweaking, but
it is a good start.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant