@vonaffenfels/slate-editor 1.0.24 → 1.0.26
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.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"cssnano": "^5.0.1",
|
|
72
72
|
"escape-html": "^1.0.3"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "7089b60e41691c2c382e25c8447f74d0bd031aaa",
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public"
|
|
77
77
|
}
|
package/src/SidebarEditor.js
CHANGED
|
@@ -377,6 +377,10 @@ const BlockSelect = ({
|
|
|
377
377
|
return;
|
|
378
378
|
}
|
|
379
379
|
|
|
380
|
+
if (item.storyContext === "development" || (Array.isArray(item.storyContext) && item.storyContext.includes("development"))) {
|
|
381
|
+
return;
|
|
382
|
+
}
|
|
383
|
+
|
|
380
384
|
const parts = item.title.split('/');
|
|
381
385
|
let currentLevel = result;
|
|
382
386
|
|