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

Unable to publish edits in "Preview" mode, also deletes body of post #277

Open
eccogrinder opened this issue Oct 24, 2023 · 0 comments
Open
Assignees
Labels
bug Something isn't working priority
Milestone

Comments

@eccogrinder
Copy link

Describe the bug
When creating an article, preview mode works fine. However, when editing a post, clicking on "preview" has two unintended consequences:

  1. The "Publish" button no longer works, so you are forced to navigate away.
  2. If you return from Preview mode to "Edit" mode, all the text in the body of the post is removed. (It can be recovered by backing out and visiting the article again, but any added text will be lost.)

To Reproduce

  1. Create & publish a post
  2. Go into "editing" mode of that post
  3. Issue 1: Click on "Preview" and you'll see you can't hit "Publish." Issue 2: Click on "Edit" in Preview mode, and you'll see all the text has been removed from the post.

Expected behavior
If you press Publish from Preview mode, it should publish. If you press "Edit" from Preview mode, you should be able to see all your text.

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

No branches or pull requests

4 participants