-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
classDef / class not working with htmlLabels? #210
Comments
I can reproduce this. Will dig further. Thinking the styling maybe should move out to css in the long run. test could already be defined as below in a local stylesheet or similar:
|
…how to predefine classes in the css and set them from the graph definition.
…how to predefine classes in the css and set them from the graph definition.
Found the issue and fixed it. Also added some documentation on how to predefine classes in the css and set them from the graph definition. This can be viewed here under the heading Css classes: |
Fix for this issue was released in mermaid 0.5.2. Will close this now, let me know if you issues still remain. |
…yarn/develop/cssnano-5.0.6 Bump cssnano from 5.0.5 to 5.0.6
With HTML in node this code not add class to node:
Remove
in "B" and its working fine. Is this a bug or my mistake?
The text was updated successfully, but these errors were encountered: