GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: Workbench should receive the original skeleton other than shell … · jacklon/lowcode-engine@d5c3ca1

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/engine/src
    • engine-core.ts
    • modules
      • skeleton-cabin.tsx
      • skeleton-cabin.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/engine/src/engine-core.ts‎

Copy file name to clipboardExpand all lines: packages/engine/src/engine-core.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const plugins = new LowCodePluginManager(editor).toProxy();
4848
editor.set('plugins' as any, plugins);
4949

5050
const { project: innerProject } = designer;
51-
const skeletonCabin = getSkeletonCabin();
51+
const skeletonCabin = getSkeletonCabin(innerSkeleton);
5252
const { Workbench } = skeletonCabin;
5353

5454
const hotkey = new Hotkey();
Collapse file

‎packages/engine/src/modules/skeleton-cabin.ts‎

Copy file name to clipboardExpand all lines: packages/engine/src/modules/skeleton-cabin.ts
-15Lines changed: 0 additions & 15 deletions
This file was deleted.
Collapse file

‎packages/engine/src/modules/skeleton-cabin.tsx‎

Copy file name to clipboard
+16Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import {
2+
Skeleton as InnerSkeleton,
3+
createSettingFieldView,
4+
PopupContext,
5+
PopupPipe,
6+
Workbench as InnerWorkbench,
7+
} from '@alilc/lowcode-editor-skeleton';
8+
9+
export default function getSkeletonCabin(skeleton: InnerSkeleton) {
10+
return {
11+
createSettingFieldView,
12+
PopupContext,
13+
PopupPipe,
14+
Workbench: (props: any) => <InnerWorkbench {...props} skeleton={skeleton} />, // hijack skeleton
15+
};
16+
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.