fabric-vectr 6.7.2 → 6.7.3

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.
package/dist/index.js CHANGED
@@ -366,7 +366,7 @@
366
366
  }
367
367
  const cache = new Cache();
368
368
 
369
- var version = "6.7.2";
369
+ var version = "6.7.3";
370
370
 
371
371
  // use this syntax so babel plugin see this import here
372
372
  const VERSION = version;
@@ -5002,8 +5002,9 @@
5002
5002
  withShadow,
5003
5003
  additionalTransform
5004
5004
  } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
5005
+ var skipShadow = true;
5005
5006
  let clipPath = this.clipPath;
5006
- const styleInfo = noStyle ? '' : `style="${this.getSvgStyles()}" `,
5007
+ const styleInfo = noStyle ? '' : `style="${this.getSvgStyles(skipShadow)}" `,
5007
5008
  shadowInfo = withShadow ? `style="${this.getSvgFilter()}" ` : '',
5008
5009
  vectorEffect = this.strokeUniform ? 'vector-effect="non-scaling-stroke" ' : '',
5009
5010
  absoluteClipPath = clipPath && clipPath.absolutePositioned,
@@ -14144,6 +14145,8 @@
14144
14145
  const obj = this.searchPossibleTargets(objects, pointer);
14145
14146
  if (obj) {
14146
14147
  if (obj instanceof Group) {
14148
+ // Let text in group can be edited after isolation
14149
+ obj.interactive = true;
14147
14150
  this.isolatedObject = obj;
14148
14151
  this.discardActiveObject();
14149
14152
  // The newly created group object has its child node coords initialized, otherwise it cannot be selected.