Hello, I’m using Atlaskit’s Editor Core component and renders its data in Atlaskit Renderer. I’m using wikimarkup transformer to encode the data. However when I insert an image and format it to align left, right, wrap-left or wrap-right, large size or small, wikimarkup doesn’t take “layout” or size into its account. it only displays center align.
const convertToWikimarkup = doc => {
const transformer = new WikiMarkupTransformer();
let updateddoc = transformer.encode(doc);
return updateddoc;
};
here’s “updateddoc” doesn’t take layout “align-center” or size.
0: {type: 'bulletList', content: Array(5)}
1:
attrs: {layout: 'align-start'}
content: [{…}]
type: "mediaSingle"
[[Prototype]]: Object
2: {type: 'paragraph', content: Array(0)}
length: 3
Am I missing something else ? Your help is very appreciated.