Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed default (placeHolder) selection after using a tag having either openBlockWith or closeBlockWith property #20

Merged
merged 1 commit into from Jan 29, 2013

Conversation

r3c
Copy link
Contributor

@r3c r3c commented Jan 4, 2013

Hi,

thank you for this great library!

I believe there is an issue with tags using either "openBlockWith" or "closeBlockWith". If you don't select any text and apply such tag, carret is supposed to select placeholder text (or just move inside the openWith and closeWith tags if there is no placeholder), but indices are wrong when openBlockWith or closeBlockWith are used. This pull request should fix the issue.

Regards,
Remi

… openBlockWith or closeBlockWith property.
jaysalvat added a commit that referenced this pull request Jan 29, 2013
Fixed default (placeHolder) selection after using a tag having either openBlockWith or closeBlockWith property
@jaysalvat jaysalvat merged commit 21d7442 into markitup:master Jan 29, 2013
@jaysalvat
Copy link
Collaborator

Thanks for your contribution and sorry for the late reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants