Wikimarkup transformer to adf fail for superscript and subscript

Since I can’t fill an issue through atlaskit bitbucket (currently closed to public) I’m trying here.

I’m desperately trying to make the atlaskit editor work with the following flow: editor->wikimarkup->adfencoder->reactrenderer and it is a real pain.

To experience the issue try the 5.3.0 version of the wikimarkup-transformer:
https://atlaskit.atlassian.com/packages/editor/editor-wikimarkup-transformer/example/wikimarkup-to-adf

A wiki text like this should work: a^2^ but fail to be detected as superscript in the wikimarkup example wikimarkup to adf.

But a{^2^} is apparently detected except the adf conversion does not remove the {} characters, so we end up with a clunky ugly superscript.

Any follow up would be appreciated.

Thanks!

1 Like