The editableCssRules style allows to specify a regular expression (without flags) that will be used to match the selector of CSS rules to allow the fill and stroke colors inside that rule to be configured via the format panel. The style can be added via Edit Style (Ctrl+E) to any SVG image that is not a link. Such embedded SVG images are added via File, Import or by drag and drop from the filesystem.

For example, consider the following SVG:

<svg version="1.1" xmlns="" xmlns:xlink="" viewBox="0 0 250 250">
<style type="text/css">
<path class="st0" d="M237.5,227.9c0,5.3-4.3,9.6-9.5,9.6c0,0,0,0,0,0H22.1c-5.3,0-9.6-4.3-9.6-9.5c0,0,0,0,0,0V22.1
<path class="st1" d="M237.5,227.9c0,5.3-4.3,9.6-9.5,9.6c0,0,0,0,0,0H89.6L44.8,192l27.9-45.5l82.7-102.7l82.1,84.5V227.9z"/>
<path class="st2" d="M197.1,138.3h-23.7l-25-42.7c5.7-1.2,9.8-6.2,9.7-12V51.5c0-6.8-5.4-12.3-12.2-12.3c0,0-0.1,0-0.1,0h-41.7

The CSS rules in the style section at the start of this SVG define the st0, st1 and st2 CSS classes, which are used to style the SVG paths. The regular expression to allow the colors inside all rules to be configured is .* (meaning match any character between zero and unlimited times). To allow just st1 and st2 to be configured, the regular expression is \.st[02] (a dot followed by st and either 0 or 2):

Here is an example.

Note that the use of semicolons is not allowed in the value of styles, as it is used to separate key=value pairs in the cell style.

This feature is available in 8.7.0 and later.