uiwjs / uiwjs/react-md-editor

Save full html layout from MD editor using React

Open
#417 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.9k
Forks
201
Avg merge
12m
Merged PRs (30d)
1

Description

How can I save full html layout with all tags ( , ,

    ,
  • , etc) using React?

    Because by default value of Markdown is String.

    In JS we have cloneNode. But then is wont be a React application.

    2022-07-18_131423

    Here, i need to save layout like in the bottom example.
    But now if I take value of Markdown - it return me only simple String.

Contributor guide

No contributing guide indexed for this repository

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

The issue names the React Markdown editor and its Markdown value, but no files or tests. Start by tracing how the editor value and preview output are exposed, then clarify whether the requested result is rendered HTML or Markdown text. Done should be defined as saving the complete HTML layout, including the listed tags.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
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.