Skip to content

Commit b5f3523

Browse files
committed
Update dom2svg bundle with rotation recovery and Inkscape compat fixes
1 parent b720032 commit b5f3523

3 files changed

Lines changed: 104 additions & 11 deletions

File tree

src/lib/export/dom2svg/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ interface SvgCompatConfig {
1515
stripTextShadows: boolean;
1616
avoidStyleAttributes: boolean;
1717
stripXmlSpace: boolean;
18+
stripGroupOpacity: boolean;
19+
inlineClipPathTransforms: boolean;
1820
}
1921
/** SVG compatibility preset */
2022
type SvgCompat = 'full' | 'inkscape' | SvgCompatConfig;

src/lib/export/dom2svg/index.js

Lines changed: 101 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/export/dom2svg/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)