#3835 Adding path to list of elements to be styled

This commit is contained in:
Knut Sveidqvist 2022-11-21 14:06:09 +01:00
parent 564414ecac
commit 78b7941f2d

View File

@ -194,7 +194,7 @@ export const createCssStyles = (
const htmlLabels = config.htmlLabels || config.flowchart?.htmlLabels; // TODO why specifically check the Flowchart diagram config?
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;