[Bug] Switching between light mode and dark mode in playground overwrites source markdown
Open
@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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.