svgdotjs / svg.js

The lightweight library for manipulating and animating SVG
https://svgjs.dev
Other
11.07k stars 1.08k forks source link

Save and Import (2.7) #1261

Closed SilverGaucho closed 2 years ago

SilverGaucho commented 2 years ago

hei there

I've implemented svg.js (2.7) with several plugins (resize,select,drag) in an application of mine. I've added several different events and behaviour around the "primitives" such as lines,images and so on. Is there a fast way to save and import back the whole stuff?

At th emoment I save every object property and rebuild everything from scratch

Many thanks

Fuzzyma commented 2 years ago

You should probably move to version 3 which has very good import/export capabilities. I didn't touch the v2 code for years so I don't really have an idea whats going on there

SilverGaucho commented 2 years ago

Mmmmhhhh are there the following plugin compatible with 3 ? :

thx

Fuzzyma commented 2 years ago

nope unfortunately not. only draggable works

SilverGaucho commented 2 years ago

thanks bro, let us updated on that