How to load batch.css @aui styles when you load document from /rest/api/content/

Hello,

I have created document with Livesearch macro and it looks fine

but when I load document with Livesearch via /rest/api/content/{id}?{params}

when I have params as

expand: [‘body.styled_view.webresource.tags.all’]

I’m getting HTML with css, that I preview on the page, it looks like this

image

HTML loaded in the iframe and we don’t have download/contextbatch/css/_super/batch.css

where we have all the needed styles.

I have react application to preview document html.

Could you suggest what to do in this case? Is it possible to use atlassian theme provider?