@vonaffenfels/slate-editor 1.1.40 → 1.1.41

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonaffenfels/slate-editor",
3
- "version": "1.1.40",
3
+ "version": "1.1.41",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -72,7 +72,7 @@
72
72
  "cssnano": "^5.0.1",
73
73
  "escape-html": "^1.0.3"
74
74
  },
75
- "gitHead": "6b708b3a2b8b1e61077b6d504dd94ec9665b47f4",
75
+ "gitHead": "baf1a0542e3c05c1454d26de09910d01e69bd38b",
76
76
  "publishConfig": {
77
77
  "access": "public"
78
78
  }
@@ -37,7 +37,6 @@ export const Element = ({
37
37
  switch (props.element.type) {
38
38
  case 'storybook':
39
39
  return <div
40
- id={props?.element?.attributes?.id}
41
40
  onClick={e => e.stopPropagation()}
42
41
  className={"storybook-element-wrapper"}>
43
42
  <StorybookNode
@@ -149,5 +149,5 @@ const BlockComponent = ({
149
149
  return <LoadedComponent {...loadedAttributes} />;
150
150
  }
151
151
 
152
- return <WrapperTag className={wrapperClassName}><LoadedComponent {...loadedAttributes} /></WrapperTag>;
152
+ return <WrapperTag id={loadedAttributes?.id} className={wrapperClassName}><LoadedComponent {...loadedAttributes} /></WrapperTag>;
153
153
  };