This causes all tags prefixed with “#” to have a different border-radius property than the default. (Custom styles by data-tags).
But this doesn’t persist if I go to the tiddler editor tagged with the tag prefixed with “#”.
How can I make the custom style persist also in the tiddler editor?
By using the browser inspect you can see the .tc-tag-label class in use when in view mode. But I expect you need something else when displaying the tag pills in edit mode as there a different element.
There is a data-tiddler-title and data-tags that should be used for styling. The first one contains the tiddler title in plain text and the second one contains all tags in plain text
Thanks, @pmario! I struggled with this for a while yesterday, using the browser’s inspector tool and tinkering with stylesheet to target that single tag in edit mode. I coudn’t figure out why it wasn’t working, and concluded I must not understand css well enough.