opentiny / opentiny/tiny-engine

🐛 [Bug]: 画布删除组件后,组件相关样式没有自动删除问题

Open
#783 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Environment

chrome

Version

latest

Version

latest

Link to minimal reproduction

none

Step to reproduce
  1. 拖入一个组件,修改样式,然后删除组件
    1
  2. 删除组件后,查看页面样式,可见组件样式代码没有同步删除
    2
What is expected

No response

What is actually happening

No response

What is your project name

tiny-engine develop

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 by reproducing the issue in Chrome in the tiny-engine develop project: add a component, change its styles, delete it, and inspect the page styles. Trace how component deletion and style cleanup are handled; done means deleting the component also removes its related style code.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.