I created a Plugin based on the idea of BBCode Color Plugin and BBCode Lock.
Currently I have made it work, but I have not been able to change the css class when the visitor is not logged in and logged in.
How do I know if a member has logged in and changed the css class value?
I use BBCode:
BBCode Lock (Broken Plugin): GitHub - vinkashq/discourse-bbcode-lock: A Discourse plugin to lock post contents to guest (anonymous) users
Please help me to complete this plugin