[Feature report] 将cherry渲染到已经存在的textarea上,并且兼容textarea上的样式

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

No file or test is identified in the issue. Start by locating Cherry's editor initialization path and checking how it handles an existing textarea. Done means the editor renders from the provided textarea and preserves its class-based styles; add coverage for that case if the project has relevant tests.

Written by the indexing model from the issue text.

Description

Clear and concise description of the problem

将cherry渲染到已经存在的textarea上,并且兼容textarea上的样式

<textarea class="form-control no-resize ex-large" id="editor-v1" ></textarea>
Suggested solution

No response

Additional context

No response

Validations
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Help us

None

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

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.

More from Tencent/cherry-markdown

All issues in Tencent/cherry-markdown

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.