TryGhost / Ghost

Independent technology for modern publishing, memberships, subscriptions and newsletters.
https://ghost.org
MIT License
46.22k stars 10.1k forks source link

Editor formatting broken #20391

Open yohanderose opened 2 weeks ago

yohanderose commented 2 weeks ago

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

kevinansfield commented 2 weeks ago

@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).

yohanderose commented 2 weeks ago

@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

kevinansfield commented 2 weeks ago

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

yohanderose commented 2 weeks ago

Every post it looks like

kevinansfield commented 2 weeks ago

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?

yohanderose commented 2 weeks ago

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

kevinansfield commented 1 week ago

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

ngeorger commented 1 week ago

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 commented 1 week ago

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.