@bigbinary/neeto-editor 1.38.11 → 1.38.12

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/Editor.js CHANGED
@@ -7566,6 +7566,7 @@ var ImageComponent = function ImageComponent(_ref) {
7566
7566
  })));
7567
7567
  editor.commands.focus();
7568
7568
  };
7569
+ if (isNotPresent(src)) return null;
7569
7570
  return /*#__PURE__*/React__default.createElement(NodeViewWrapper, {
7570
7571
  className: "neeto-editor__image-wrapper neeto-editor__image--".concat(align),
7571
7572
  "data-cy": "neeto-editor-image-wrapper"
@@ -14028,6 +14029,7 @@ var VideoComponent = function VideoComponent(_ref) {
14028
14029
  })));
14029
14030
  editor.commands.focus();
14030
14031
  };
14032
+ if (isNotPresent(src)) return null;
14031
14033
  return /*#__PURE__*/React__default.createElement(NodeViewWrapper, {
14032
14034
  className: "neeto-editor__image-wrapper neeto-editor__image--".concat(align)
14033
14035
  }, /*#__PURE__*/React__default.createElement("figure", {