Tencent / Tencent/cherry-markdown

[Feature Request] 使用Web Components 对组件(样式)进行解耦

Open
#902 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🚀enhancement
Dominant language
JavaScript
Stars
4.9k
Forks
572
Avg merge
17h 5m
Merged PRs (30d)
14

Description

Prerequisites
  • There isn't an existing issue that requests the same feature, to avoid duplicates.
Clear and concise description of the problem

拼接html的写法实在太丑陋了~
为什么不考虑将一些组件使用WebComponents实现:https://developer.mozilla.org/en-US/docs/Web/API/Web_components
浏览器原生支持,作用域相互隔离,可以避免很多问题

Suggested solution

No response

Further Information

No response

Contributing

No, I don't plan to at this time.

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

No files, tests, or entry points are named. Start by reading the linked Web Components reference and mapping how Cherry Markdown currently assembles component HTML and styles. Done would require an agreed scope and implementation plan for decoupling components and their styles with Web Components.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
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.