Skip to content

2nd text row in shape labels in the UI, painted using wrong color. #491

@mattiasgronlund

Description

@mattiasgronlund

Thanks for a great plugin!

If one add two rows of text to a shape, only the first row will display in the editor using the given font color, any subsequent rows will always be displayed using light-dark(var(--text-color), var(--dark-text-color)).

As a workaround I added the following code to webview-content.html, which fixed my problem:

			.geDiagramContainer,
			.geDiagramContainer * {
				color: inherit;
			}

I suspect #485 might be related here, as C4 often use multiple text lines...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions