Milkdown / Milkdown/website

[Bug] Switching between light mode and dark mode in playground overwrites source markdown

Open
#23 1 comment 0 reactions 1 assignee View on GitHub

@Saul-Mirone is already working on this.

Since Aug 27, 2023.

bug
Dominant language
TypeScript
Stars
49
Forks
216
PR merge metrics
No merged PRs in 30d

Description

Initial checklist
  • I agree to follow the code of conduct
  • I searched issues and discussions and couldn’t find anything (or linked relevant results below)
Affected packages and versions

Milkdown Playgroundv7.3.0

Link to runnable example

No response

Steps to reproduce

Type anything into the editor, switch between light modes, and the source text will be reset to default text.

Expected behavior

You keep your text (sorry for lame response, but I feel like this is a given)

Actual behavior

The preview will not be effected, but the source text will be reset to the default text.

Runtime

Chrome

OS

Linux

Build and bundle tools

No response

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.