Thinkmill / Thinkmill/keystatic

Button to edit raw text

Open
#1,454 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.4k
Forks
159
Avg merge
21h 41m
Merged PRs (30d)
2

Description

I've got an mdx content area with some content components.

Sometimes I need to do something that's tricky or not possible through the UI[1]. It'd be handy to just edit the raw text, then flip back to the WYSIWYG editor.

[1] Like wrapping a component in another component (cut/paste fun), or adding text to the front of the document when I can't get the cursor ahead of the component that's at the front of the document (not possible)

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 locating the MDX content area and its WYSIWYG editor entry point. Check how the editor currently loads and preserves content, then add a raw-text editing mode that can switch back without losing component wrappers or text at the document start. Done means both editing modes preserve the same content.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.