alibaba / alibaba/lowcode-engine

求助自定义设计器

Open
#2,129 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

本人有需求实现自定义的布局操作,现有设计器无法满足,需要自定义设计器。

根据相关的demo,通过ReactRender已实现将schema动态渲染出来。但它没有设计能力,无法选中鼠标对应的组件。

翻阅源码似乎ReactSimulatorRender有能力,引用了@alilc/lowcode-react-simulator-renderer,按react-render的写法调用。

运行时出错,是由于该组件需要host属性。

请指点我的需求应该如何实现,是否应该使用@alilc/lowcode-react-simulator-renderer实现。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the ReactRender usage with ReactSimulatorRender and the @alilc/lowcode-react-simulator-renderer component mentioned in the issue. Determine how the required host property is supplied and whether this is the intended path for a custom designer. Done means the schema renders in design mode and the component under the mouse can be selected.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
design, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.