html-integrations
html-integrations copied to clipboard
[CKEditor5] superscript gets casted to subscript
Description
We add a superscript formula in the editor through the plugin and then it gets shown correctly, but once we reload the code (or do a setData) it gets converted to a subscript formula
Environment
wiris/mathtype-ckeditor5: 8.10.0
What is the relevant software and their versions?
- ckeditor/ckeditor5-core: 42.0.0
Steps to reproduce
- Create a formula with a left-superscript formula
- insert the formula into the editor
- as per your own website https://demo.wiris.com/integrations/ckeditor/ copy the generated html
- insert the data back into the editor through the console in my case editor.setData('');
- see that in the editor you get an a with a left subscript instead of a left superscript
Expected result
the same as generated at first a left superscript
Actual result
a left subscript
Other details
Both in our environment as well as on the demo on your site