Skip to content

New option data and some minor bugfixes#12

Open
baxeico wants to merge 6 commits intoHawkers:masterfrom
baxeico:master
Open

New option data and some minor bugfixes#12
baxeico wants to merge 6 commits intoHawkers:masterfrom
baxeico:master

Conversation

@baxeico
Copy link

@baxeico baxeico commented Sep 10, 2013

For a project I need to have in Javascript the ids of users mentioned, but not the message with mentions in the form of @[1234], so I added the option data to make the plugin put id_map in the elem.data() (via jQuery).

Also I fixed a little bug when you have multiple @ in the textarea, only the last @ worked as expected.

Finally I fixed another minor bug where a space was always inserted after the selection, even when not needed.

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