eddev 2.0.0-beta.109 → 2.0.0-beta.110
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/app/entry/boot-admin.js +1 -1
- package/dist/app/lib/blocks/editor/editor-config.js +3 -1
- package/dist/app/lib/devtools/hooks/useTailwind.d.ts +1367 -323
- package/dist/app/lib/devtools/useQueryDebug.d.ts +1 -1
- package/dist/app/server/proxy-wp-admin.js +10 -1
- package/dist/app/server/render-ssr-page.d.ts +1 -1
- package/dist/node/cli/version.d.ts +1 -1
- package/dist/node/cli/version.js +1 -1
- package/dist/node/compiler/get-vite-config.d.ts +1 -0
- package/dist/node/compiler/get-vite-config.js +3 -0
- package/dist/node/compiler/vinxi-app.js +2 -2
- package/dist/node/compiler/vinxi-codegen.js +4 -4
- package/dist/node/project/manifest/block-manifest.js +1 -1
- package/dist/node/project/project.d.ts +2 -0
- package/dist/node/project/project.js +24 -1
- package/dist/node/storybook/index.d.ts +2 -0
- package/dist/node/storybook/index.js +13 -0
- package/dist/node/utils/report-builder.d.ts +6 -6
- package/dist/node/utils/self-signed-cert.d.ts +2 -0
- package/dist/node/utils/self-signed-cert.js +10 -2
- package/package.json +6 -1
|
@@ -2,7 +2,7 @@ import { installFieldTypes } from "../lib/admin/installFieldTypes.js";
|
|
|
2
2
|
import { runWidgets } from "../lib/admin/runWidgets.js";
|
|
3
3
|
import { installEDGutenbergHooks } from "../lib/blocks/editor/installGutenbergHooks.js";
|
|
4
4
|
export default function bootAdmin() {
|
|
5
|
-
console.log("Booting admin")
|
|
5
|
+
// console.log("Booting admin")
|
|
6
6
|
if (window.name === "editor-canvas") {
|
|
7
7
|
}
|
|
8
8
|
else {
|
|
@@ -8,6 +8,7 @@ export function configureEditorBlocks(config) {
|
|
|
8
8
|
const wp = window.wp;
|
|
9
9
|
let hideStyles = document.getElementById("title-hider");
|
|
10
10
|
hideStyles?.remove();
|
|
11
|
+
console.log("CONFIG", config);
|
|
11
12
|
if (config.hideTitle) {
|
|
12
13
|
hideStyles = document.createElement("style");
|
|
13
14
|
hideStyles.id = "title-hider";
|
|
@@ -16,12 +17,13 @@ export function configureEditorBlocks(config) {
|
|
|
16
17
|
display: none !important;
|
|
17
18
|
}
|
|
18
19
|
`;
|
|
20
|
+
console.log("hideStyles", hideStyles);
|
|
19
21
|
document.head.appendChild(hideStyles);
|
|
20
22
|
}
|
|
21
23
|
if (config.template) {
|
|
22
24
|
setTemplate(config.template);
|
|
23
25
|
if (config.headerTemplate || config.footerTemplate) {
|
|
24
|
-
console.error("You cannot use both a template
|
|
26
|
+
console.error("You cannot use both a 'template' alongside 'headerBlock'/'footerBlock'. Did you mean to use 'defaultBlocks' instead?");
|
|
25
27
|
return;
|
|
26
28
|
}
|
|
27
29
|
}
|