Open pschijven opened 10 months ago
I saw your code. Thank you, it fixed my issue. If you like, here the full code https://github.com/erossini/EasyMarkdownEditor
I saw your code. Thank you, it fixed my issue. If you like, here the full code https://github.com/erossini/EasyMarkdownEditor
I'm glad that I could be of help 👍
This pull request fixes a small issue in the
toggleLinks
method.Suppose I have selected the text
uri
and then pressCmd+K
to create a link. Then the text[uri](https://)
will be generated. If I pressCmd+K
again, it currently reverts the text back to[uri
instead ofuri
.I have made a small correction to the regular expression in the
toggleLinks
method to fix this problem.