Skip to content

Conversation

@carla-at-wiris
Copy link
Contributor

Description

Track changes preview functionality is broken by MathType due to not having an instance created when the preview window is shown. It also had a bug where no MathType were rendered.

This PR fixes that by adding safe fallbacks and preventing the execution of the code that did not allow the rendering when using the preview feature

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How should be tested?

  1. Use the branch feat/ck5-trackchanges-compatibility/ or its staging demo. It contains the same code as this branch with the track changes feature enabled.
  2. Click on tha track changes button dropdown and select "Preview final content"
  3. The mentioned issues sould not appear

Known issue: Suggestions on formulas are ignored and treated as already accepted formulas on the preview, but taken into account when accepting all the changes.

@carla-at-wiris carla-at-wiris self-assigned this Jan 13, 2026
@carla-at-wiris carla-at-wiris added type:bug Something isn't working package:ckeditor5 Issues involving the plugin for CKEditor 5 labels Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package:ckeditor5 Issues involving the plugin for CKEditor 5 type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants