Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeMirror editor deletes all other pages of a markdown file when multiple entries are used #1111

Closed
ChewbaccaCookie opened this issue Sep 10, 2023 · 1 comment · Fixed by #1299
Labels
bug Something isn't working

Comments

@ChewbaccaCookie
Copy link

Describe the bug
If a user uses the CodeMirror editor for editing, and this slide is imported somewhere else, then all other slides, except the currently modified one, are deleted.

Before:
image

Editing:
image

After:
image

--> Page 1 was deleted.

To Reproduce
Steps to reproduce the behavior:

  1. Go to this example: Stackblitz
  2. Go to page 2 or 3
  3. Click on the "Edit file" icon in the bottom left navigation
  4. Edit the content of the page

Desktop (please complete the following information):

  • OS: All
  • Browser: All
  • Slidev version: Latest
@KermanX
Copy link
Member

KermanX commented Feb 7, 2024

Cannot reproduce in v0.47.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants