- 🐛 Fixed editor performance issues in Safari for posts with HTML or Markdown cards (#20806) - Ronald Langeveld
View the changelog for full details: v5.89.5...v5.89.6
Tag Name: v5.89.6
Release Date: 8/21/2024
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
This patch release addresses a significant performance problem in the Ghost editor when working with HTML or Markdown cards in Safari browsers. The previous implementation caused CPU usage to spike dramatically, making the editor sluggish or unusable for some users. The fix changes how the secondary Lexical editor instance is hidden, resolving the performance bottleneck without affecting functionality.
No migration steps are required for this release. The update can be applied without any additional configuration changes or data migrations.
This release is highly recommended for all Ghost installations, especially for sites where content creators use Safari browsers. The performance fix addresses a significant usability issue that could impact content creation workflows.
The update is a minor patch release with minimal changes, making it a low-risk upgrade that resolves an important performance problem.
Fixed a critical performance issue in Safari browsers when editing posts containing HTML or Markdown cards. The previous implementation hid the secondary Lexical editor instance using CSS properties (width: 0, height: 0, and overflow: hidden), which caused CPU usage to spike dramatically. This was likely due to CodeMirror continuously processing the hidden element.
The fix implements a more Safari-friendly approach to hiding the secondary editor instance, preventing the excessive CPU usage while maintaining proper functionality.
No new features were introduced in this patch release. This update focuses exclusively on fixing a performance issue in the editor when using Safari browsers.
No security fixes were included in this release.
This release significantly improves editor performance in Safari browsers when working with HTML or Markdown cards:
The optimization specifically targets how hidden editor components are handled, preventing unnecessary processing of elements that aren't visible to the user.
Ghost v5.89.6 delivers an important performance optimization for Safari users working with HTML or Markdown cards in the editor. The fix addresses a specific browser compatibility issue that was causing excessive CPU usage and editor slowdowns.
While this is a targeted fix for Safari users, it represents an important quality-of-life improvement for content creators who rely on this browser. The update ensures consistent editor performance across different browser environments, particularly when working with code-related content cards.
The change is isolated to the editor component and doesn't affect other aspects of Ghost functionality, making this a safe and recommended update for all installations.
View the changelog for full details: v5.89.5...v5.89.6