react-design-editor 0.0.57 → 0.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -198634,7 +198634,7 @@ var Svg = fabric["fabric"].util.createClass(fabric["fabric"].Group, {
198634
198634
  },
198635
198635
  toObject: function toObject(propertiesToInclude) {
198636
198636
  return ObjectUtil_toObject(this, propertiesToInclude, {
198637
- svg: this.get('svg'),
198637
+ src: this.get('src'),
198638
198638
  loadType: this.get('loadType')
198639
198639
  });
198640
198640
  },
@@ -202252,7 +202252,7 @@ var Handler_Handler = /*#__PURE__*/function () {
202252
202252
  return Promise.resolve(_this.setImage(findObject, source, keepSize));
202253
202253
  };
202254
202254
 
202255
- this.setSvg = function (obj, source, isPath, keepSize) {
202255
+ this.setSvg = function (obj, source, keepSize, xmlString) {
202256
202256
  return new Promise(function (resolve) {
202257
202257
  if (!source) {
202258
202258
  resolve(obj.loadSvg({
@@ -202276,7 +202276,7 @@ var Handler_Handler = /*#__PURE__*/function () {
202276
202276
  } else {
202277
202277
  resolve(obj.loadSvg({
202278
202278
  src: source,
202279
- loadType: isPath ? 'svg' : 'file',
202279
+ loadType: xmlString ? 'svg' : 'file',
202280
202280
  keepSize: keepSize
202281
202281
  }));
202282
202282
  }