rien7 / obsidian-colorful-tag

Make your tag more beautiful and powerful!
Apache License 2.0
126 stars 3 forks source link

non numeric/character tag bug on live mode #46

Open moziar opened 1 year ago

moziar commented 1 year ago

There's a bug that the colorful tag will not take effect when the tag name contains non numeric/character, like emoji or non-english words.

This is a bug of the obsidian it self, which will not contain the emoji/non-english word on element class name. This will let the colorful tag fail to locate the tag, and thus can not render it right on live mode. When I make a bug report, the mother boarder refuse to recognize it, which mean that may never fix this.

Will you consider to adapt this "feature" on colorful tag side?

rien7 commented 1 year ago

I had tried to fix it by adding correct class name for tags. But every time the file changes, obsidian will refresh the view and remove the classes plugin added before.

The style of these tags may be unstable, but in the next version I will probably add an option for the user to choose whether to turn on.

moziar commented 1 year ago

I had tried to fix it by adding correct class name for tags. But every time the file changes, obsidian will refresh the view and remove the classes plugin added before.

The style of these tags may be unstable, but in the next version I will probably add an option for the user to choose whether to turn on.

It is so glad to here that you've been working on it, thank you for your work!