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

Typora shows a fixed read-only document regardless of the markdown contents #6178

Open
almansa opened this issue Nov 28, 2024 · 0 comments
Open

Comments

@almansa
Copy link

almansa commented Nov 28, 2024

bug description

Whenever I try to open an existing file.md typora shows a fixed document that seems to be the rendered contents of
/Applications/Typora.app/Contents/Resources/TypeMark/index.html
instead of the rendered contents of file.md.
The document cannot be edited, nor is there a way to add contents to this fixed document.
switching to source mode does not help either.

Same behaviour when I try to create a new document.

This unexpected behaviour seems to have started after I mistakenly used Typora to open this file :
/Applications/Typora.app/Contents/Resources/TypeMark/index.html

Is there a way to go back to normal? I guess some configuration file has been corrupted.
Should I completely remove typora, and all typora configuration files, then reinstall from scratch as indicated here: https://support.typora.io/Trouble-Shooting/ ?

To Reproduce

Possible cause of the problem:

  1. Open /Applications/Typora.app/Contents/Resources/TypeMark/index.html with Typora. From now on this document is referred to by the shortcut index.html
  2. Close the document and quit Typora

After that
3. Open Typora : You see the rendered contents of index.html instead of an empty markdown file. The document cannot be edited, nor is there a way to add contents to this fixed document.
4. Switch to source mode : same behaviour (you still see the rendered contents of index.html instead of an empty file or the source html)
5. Open an existing markdown file, say file.md : You see the rendered contents of index.html instead of the contents of file.md. The document cannot be edited, nor is there a way to add contents to this fixed document.
6. Switch to source mode : same behaviour (you still see the rendered contents of index.html instead of the source file.md or the source html)

Expected behavior
3. I should see an empty markdown document that can be edited
4. I should see an empty markdown document that can be edited in source mode
5. I should see the rendered contents of file.md
6. I should see the markdown source of file.md

Screenshots / Screencasts
If applicable, add screenshots / screencasts to help explain your problem.

System

  • OS: macOS 14.7.1 (23H222)
  • Typora version 1.9.4 (7260)

Screenshot

When opening Typora, or when creating a new empty file Typora shows this fixed read-only document.

typora-screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant