-
Notifications
You must be signed in to change notification settings - Fork 9
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
Can't edit the contents of the mlang tags #9
Comments
Hi again David, Thanks a lot for your time. |
Also removed <span> tags for content in "TEMPLATE" since they are unnecessary.
I've fixed it adding by default a character if there's no text selected. I've not found a way to place the cursor between the right closing I think I would leave the ticket open, as |
The plugin works well when I type the text first, select it and then press the button to wrap it by the
{mlang}
tags.But when I press the button first, without having any text selected, the button creates just empty
{mlang xx}{mlang}
block and I can't simply go and type something within them. It seems to me that whatever I do with the cursor (be it pressing arrows or clicking by mouse), it always highlights the whole mlang tag. So typing effectively overwrites it which is annoying.The text was updated successfully, but these errors were encountered: