@khanacademy/perseus-editor 2.5.1 → 2.5.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @khanacademy/perseus-editor
2
2
 
3
+ ## 2.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - eeda31bd: Fix loading graphie URLs into the image editor
8
+
3
9
  ## 2.5.1
4
10
 
5
11
  ### Patch Changes
package/dist/es/index.js CHANGED
@@ -28178,7 +28178,7 @@ const ImageEditor = createReactClass({
28178
28178
  const backgroundImage = this.props.backgroundImage;
28179
28179
  const imageSettings = /*#__PURE__*/React.createElement("div", {
28180
28180
  className: "image-settings"
28181
- }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("label", null, /*#__PURE__*/React.createElement("div", null, "Preview:"), /*#__PURE__*/React.createElement("img", {
28181
+ }, !Util.isLabeledSVG(backgroundImage.url) && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("label", null, /*#__PURE__*/React.createElement("div", null, "Preview:"), /*#__PURE__*/React.createElement("img", {
28182
28182
  alt: "Editor preview of image",
28183
28183
  src: backgroundImage.url,
28184
28184
  style: {