trusty-cms 7.0.42 → 7.0.43

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b00389956d17d10d81a5ac7f51804be39ba84149c44e57caf20e7efb84e4080
4
- data.tar.gz: b0eb99265bd7c56ba17db0ca612b6d14084fdb214e7341c60aad3b351a07d471
3
+ metadata.gz: bf029635066daad115b3e46b75fa8846fb74928e3ff78bfb90fac2b8e0043507
4
+ data.tar.gz: 24528aea58cd22785bd779b0e1dad29b18d78a3a0f356a6daa0a0b0c17463fc6
5
5
  SHA512:
6
- metadata.gz: 84e052a8883c2469976957291282e613c8d1780e531e0a289a450b4ea3e63ac52e17b1270147cf6b43becf050c9198725353e2b2215e82ef25185e84fcc07e8f
7
- data.tar.gz: a5e7a9bcbc4ac5ef76a2a1a66c1d3b0bff3a475728bb2d71e139a220a582514489fa1ca801f5317748dc9c111fa9c99926c86deaedc6d52c2cd9446737c28be9
6
+ metadata.gz: d71bafd88d6a393c2c8c61839a97212c23e07dec07cc348ad0ab0555aaeeb04b69ace7db4325453a8a29ef2033bb719bc72fd5d6ffa5eefa3557beabc67e3ba3
7
+ data.tar.gz: b7d2957a929e2f12dbd431e7d9a7fa1e6533cc0813ca27705bf5e3851f24dcbcd48dd5c0c75df4c1de4888d42ae6f9979158faa25e838da827fe4f717056449d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-cms (7.0.42)
4
+ trusty-cms (7.0.43)
5
5
  RedCloth (= 4.3.3)
6
6
  activestorage-validator
7
7
  acts_as_list (>= 0.9.5, < 1.3.0)
@@ -103083,7 +103083,7 @@ Original error: ${originalError.name}: ${originalError.message}` : "";
103083
103083
  allowWhere: "$text",
103084
103084
  isInline: true,
103085
103085
  isObject: true,
103086
- allowAttributes: ["id", "size", "alt"]
103086
+ allowAttributes: ["id", "size", "alt", "height", "width"]
103087
103087
  });
103088
103088
  }
103089
103089
  _defineConverters() {
@@ -103100,9 +103100,13 @@ Original error: ${originalError.name}: ${originalError.message}` : "";
103100
103100
  const id = viewElement.getAttribute("id");
103101
103101
  const size = viewElement.getAttribute("size");
103102
103102
  const alt = viewElement.getAttribute("alt");
103103
+ const height = viewElement.getAttribute("height");
103104
+ const width = viewElement.getAttribute("width");
103103
103105
  if (id) attrs.id = id;
103104
103106
  if (size) attrs.size = size;
103105
103107
  if (alt) attrs.alt = alt;
103108
+ if (height) attrs.height = height;
103109
+ if (width) attrs.width = width;
103106
103110
  return writer.createElement("assetImage", attrs);
103107
103111
  }
103108
103112
  });
@@ -103113,9 +103117,13 @@ Original error: ${originalError.name}: ${originalError.message}` : "";
103113
103117
  const id = modelElement.getAttribute("id");
103114
103118
  const size = modelElement.getAttribute("size");
103115
103119
  const alt = modelElement.getAttribute("alt");
103120
+ const height = modelElement.getAttribute("height");
103121
+ const width = modelElement.getAttribute("width");
103116
103122
  if (id) attrs.id = id;
103117
103123
  if (size) attrs.size = size;
103118
103124
  if (alt) attrs.alt = alt;
103125
+ if (height) attrs.height = height;
103126
+ if (width) attrs.width = width;
103119
103127
  return writer.createEmptyElement("r:asset:image", attrs);
103120
103128
  }
103121
103129
  });
@@ -103126,9 +103134,13 @@ Original error: ${originalError.name}: ${originalError.message}` : "";
103126
103134
  const id = modelElement.getAttribute("id");
103127
103135
  const size = modelElement.getAttribute("size");
103128
103136
  const alt = modelElement.getAttribute("alt");
103137
+ const height = modelElement.getAttribute("height");
103138
+ const width = modelElement.getAttribute("width");
103129
103139
  if (id) attrs.id = id;
103130
103140
  if (size) attrs.size = size;
103131
103141
  if (alt) attrs.alt = alt;
103142
+ if (height) attrs.height = height;
103143
+ if (width) attrs.width = width;
103132
103144
  return writer.createContainerElement("r:asset:image", attrs);
103133
103145
  }
103134
103146
  });