uiwjs / uiwjs/react-md-editor

Image resizing

Open
#456 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

Hi. How can I resize an image?
![](https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png)
Gives no opportunity to specify the size.
<img src="https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png" width="100" height="100">
Works, but is dropped if I use rehype-sanitize plugin

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 Markdown image syntax, HTML img markup, and the rehype-sanitize plugin, but no repository files or tests. Start by locating the preview/rendering path and sanitizer configuration; done means there is a tested way to handle image sizing without breaking sanitization.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown, react, typescript
Domain
content, frontend, security
Issue type
Feature
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.