opentiny / opentiny/tiny-engine

🐛 [Bug]: 拖拽组件到画布报错

Open
#1,131 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Need to reproduce
Dominant language
Vue
Stars
2.8k
Forks
476
Avg merge
17h 35m
Merged PRs (30d)
1

Description

Environment

window

Version

18.20.5

Version

@opentiny/vue@3.14.0 "@opentiny/tiny-engine": "2.2.0",

Link to minimal reproduction

编辑页面。左侧插件-> 自定义插件->拖动插件到画布

Step to reproduce

按文档开发 https://opentiny.design/tiny-engine#/help-center/course/dev/17。
步骤:
1、注册组件

2、配置拖动组件

3、目前已实现左侧组件区注入组件,遇见问题为组件画布区报错,且无法配置

          <!-- Failed to upload "25951998deb52f2631f55265bc42407.png" -->
           <!-- Failed to upload "4815924102e243d8992acc9c4e0a7d5.png" -->
What is expected

希望解决此bug。并完善文档,给出完整的详细的开发插件的文档和示例

What is actually happening

新开发的插件 在画布区报错,且无法配置

What is your project name

项目二开

Any additional comments (optional)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the plugin development guide at https://opentiny.design/tiny-engine#/help-center/course/dev/17 and reproduce the issue by dragging a custom plugin from the left plugin area onto the canvas. Investigate the canvas error and configuration failure for the newly developed plugin. Done means the component can be dragged onto the canvas, configured successfully, and the plugin documentation includes a complete example.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.