mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-02-04 07:13:25 +08:00
#3835 Adding path to list of elements to be styled
This commit is contained in:
parent
564414ecac
commit
78b7941f2d
@ -194,7 +194,7 @@ export const createCssStyles = (
|
|||||||
const htmlLabels = config.htmlLabels || config.flowchart?.htmlLabels; // TODO why specifically check the Flowchart diagram config?
|
const htmlLabels = config.htmlLabels || config.flowchart?.htmlLabels; // TODO why specifically check the Flowchart diagram config?
|
||||||
|
|
||||||
const cssHtmlElements = ['> *', 'span']; // TODO make a constant
|
const cssHtmlElements = ['> *', 'span']; // TODO make a constant
|
||||||
const cssShapeElements = ['rect', 'polygon', 'ellipse', 'circle']; // TODO make a constant
|
const cssShapeElements = ['rect', 'polygon', 'ellipse', 'circle', 'path']; // TODO make a constant
|
||||||
|
|
||||||
const cssElements = htmlLabels ? cssHtmlElements : cssShapeElements;
|
const cssElements = htmlLabels ? cssHtmlElements : cssShapeElements;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user