File tree Expand file tree Collapse file tree 3 files changed +17
-16
lines changed
Expand file tree Collapse file tree 3 files changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ const plugins = new LowCodePluginManager(editor).toProxy();
4848editor . set ( 'plugins' as any , plugins ) ;
4949
5050const { project : innerProject } = designer ;
51- const skeletonCabin = getSkeletonCabin ( ) ;
51+ const skeletonCabin = getSkeletonCabin ( innerSkeleton ) ;
5252const { Workbench } = skeletonCabin ;
5353
5454const hotkey = new Hotkey ( ) ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments