Ghost icon indicating copy to clipboard operation
Ghost copied to clipboard

Editor formatting broken

Open yohanderose opened this issue 1 year ago • 9 comments

Issue Summary

Hi team, I recently tried the beta editor on docker image version 5, and all the text in the editor was bold, italicised and unchangeable. image

Steps to Reproduce

  1. Try the version 5 beta editor.
  2. Revert to the regular editor.
  3. Pull the latest docker image and rebuild

Ghost Version

5.85.0

Node.js Version

18.14.2

How did you install Ghost?

Docker on ubuntu server

Database type

SQLite3

Browser & OS version

Editors botched formatting on both recent chrome and firefox installs

Relevant log / error output

None

Code of Conduct

  • [X] I agree to be friendly and polite to people in this repository

yohanderose avatar Jun 16 '24 09:06 yohanderose

@yohanderose I'm a bit confused as to what versions etc you're using here. Ghost hasn't had a "beta" editor since 5.68.0 released Oct 6th 2023 in which the old editor and beta switch was removed entirely.

Are you saying you have content that you created/edited in the beta editor in an old version of Ghost that is now broken in the latest release? (Note that once you edited a post in the beta editor it wasn't possible to revert it to the old editor, even after disabling the beta switch).

kevinansfield avatar Jun 17 '24 09:06 kevinansfield

@kevinansfield, thanks for replying. I didn't actually edit anything in the beta editor; I just wanted to check out the feature.

I was self-hosting an old docker image on a VPS, and even once I upgraded to the latest, the weird formatting persisted, and applying any bold or italics isn't working. Peek 2024-06-18 21-32

yohanderose avatar Jun 18 '24 14:06 yohanderose

Is this occurring on every post or just with specific content?

kevinansfield avatar Jun 20 '24 16:06 kevinansfield

Every post it looks like

yohanderose avatar Jun 20 '24 17:06 yohanderose

In that case it sounds like there's something in your browser may be interfering with the editor. When you preview or view the published post is the content there italicised?

kevinansfield avatar Jun 20 '24 17:06 kevinansfield

Hmm, that's weird. I've tried Firefox and Chrome, and they have the same issue. The previews and live posts look fine

Just tried disabling all extensions as well but no change

yohanderose avatar Jun 20 '24 17:06 yohanderose

Can you use the browser's dev tools to inspect some of the italicised text and post a screenshot of the elements tab?

kevinansfield avatar Jun 24 '24 12:06 kevinansfield

Just a reccomendation: When you upograde any software, even more if it's important for you, try to do it stepby step,minor version by minor version until you get to the latest or desired one.

Example:

If you are un 4.0.0, don't jump directly into 5.xx.x, do it at least with a couple of versions in between, like 4.0 -> to 4.5 -> 4.9 -> 5.0

This way you'll ensure the lowest chances of breaking changes when upgrading.

ngeorger avatar Jun 25 '24 03:06 ngeorger

BTW, you could try to export and import your content. There is a chance that migrations or database upgrades did something weird at some point. BTW, do it into a dev environment, not directly into your main server.

ngeorger avatar Jun 25 '24 03:06 ngeorger

Note from our bot: The needs:info label has been added to this issue. Updating your original issue with more details is great, but won't notify us, so please make sure you leave a comment so that we can see when you've updated us.

github-actions[bot] avatar Jul 17 '24 14:07 github-actions[bot]

Hey @yohanderose 👋

Our team needed some more info to get to the bottom of this, however we've not heard back from you. We're going to close this for now, but let us know if you manage to dig up some more info and we'll reopen.

cmraible avatar Aug 15 '24 22:08 cmraible