Closed tswwe closed 3 years ago
What you are looking at is the transpiled javascript file. The source code is written in Typescript and available here on Github. Looking forward to your PR 😄
What you are looking at is the transpiled javascript file. The source code is written in Typescript and available here on Github. Looking forward to your PR 😄
Thanks for reminding. I do not have a typescript compiler on my computer (and don't know how to deploy one currently 😂). So I made these changes based on my local modified .obsidian/plugins/emoji-shortcodes/main.js file, because the .ts file seems to be similar to .js file. The .js file work on my computer, and I hope the patch for .ts also works, which may need more tests.
Hi. I like this handy plugin but I ran into some bugs in using it. Here are the reports (in the given example below, the cursor position is symbolized by ▊):
:
, the Immediate Emoji Replace function will fail in recognizing the emoji shortcodes at the cursor.:
, the Emoji Suggester will fail in inserting selected emoji correctly.`
, an alphabet or a number, you can't trigger the Emoji Suggester board by inputting a:
.:non-shortcode
, you can't feed a new line by just pressing Enter.:▊
with your cursor at the end of the line, you can't feed a new line by just pressing Enter.Hopefully, I have read the source code (.obsidian/plugins/emoji-shortcodesmain.js) and I think I can fork the repo and help fixing these problems. If things go well, I will submit a pull request in next 2-3 days.