uiwjs / uiwjs/react-md-editor

How to set up TextAreaTextApi for specific <MDEditor />?

Open
#557 6 comments 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

Hello,
I want to use the replaceSelection function of TextAreaTextApi inside my component.
How can I set it up or get access to the target <MDEditor />?

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

Start by tracing the TextAreaTextApi and MDEditor component interfaces in the repository to determine how a target editor instance is exposed. Done would be a clear usage explanation or example showing how a component can access its MDEditor and call replaceSelection.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.