phibr0 / obsidian-emoji-shortcodes

Emoji Shortcodes - Obsidian Plugin | Adds Support for Emoji Shortcodes to Obsidian
MIT License
181 stars 15 forks source link

Inconsistency in the behaviors according to how we write the emoji #10

Closed CcileMoul1 closed 3 years ago

CcileMoul1 commented 3 years ago

I tried to use this plugin by writing the name but it didn't gave the same result according to how I wrote it. I don't really know how to explain it so here is a screenshot of some tests. (left edit, write preview) In the first case, I insert the emoji after writing the whole sentence. Capture d’écran de 2021-08-23 14-16-53

I'm using Ubuntu 20.04.2 LTS Obsidian 0.12.12 Emoji Shortcodes 1.4.0

Thanks Ccile

I have no idea on how it should work but I think I would prefer to have the small picture in both view : edit and preview. My second choice would be the name in edit and the small picture in preview.

phibr0 commented 3 years ago

Disable the other Emoji Plugin (or the rendering of Twitter emojis in it's settings)

CcileMoul1 commented 3 years ago

The other Emoji Plugin was already removed.

phibr0 commented 3 years ago

Then it doesn't unload properly or something. This definitely is not about this Plugin because it doesn't even bundle these Emojis.

phibr0 commented 3 years ago

And only the first one worked because it was done by a MarkdownPostProcessor added by this Plugin

CcileMoul1 commented 3 years ago

I tested it with another vault where I didn't install (and remove) the Emoji Plugin and it works well. So now, I just have to understand what went wrong with the removing of Emoji Plugin.

Thanks for your answer

Edit : a file named data.json was in the folder of the plugin. No idea how it went there. By removing it, it solved my problem. For information, here is the content of this file

{
  "immediateReplace": true,
  "suggester": true
}