Skip to content
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

line labels are not rendered correctly in live editor #366

Closed
jorgheymans opened this issue Jun 21, 2016 · 4 comments
Closed

line labels are not rendered correctly in live editor #366

jorgheymans opened this issue Jun 21, 2016 · 4 comments

Comments

@jorgheymans
Copy link

Hi,

Consider this simple example: http://knsv.github.io/mermaid/live_editor/#/edit/Z3JhcGggTFIKQS0tPnx0ZXN0fEI7

graph LR
A-->|test|B;

in the live editor this renders like

image

But in the documentation all the examples i can see have a background set for the arrow labels. Am i missing a flag to enable these ? Browser versions here are FF 45.2.0 and Chrome 51

@knsv
Copy link
Collaborator

knsv commented Oct 7, 2016

Thanks for the report and sorry about the late response. This is matter of configuration in the editor code and should be fixed.

@tylerlong
Copy link
Collaborator

tylerlong commented Aug 17, 2017

@xiaoxiao426
Copy link

How can i set the background color of lable?

@IOrlandoni
Copy link
Member

@xiaoxiao426 This issue is 3 years old. Please, check the documentation or open a new issue if you need to.

@mermaid-js mermaid-js locked as resolved and limited conversation to collaborators Sep 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants