Hi!
I’m trying to embed wiki pages to my app.
From my server before rendering view I’m using rest/api/content/
with expand: 'body.styled_view'
. Then I interpolate the result ['body']['styled_view']['value']
to my page.
Some styles don’t work properly because in exported data there is a mix of CSS, LESS ([CONFCLOUD-57168] Rest API returns LESS code or similar instead of CSS when expanding "styled_view" - Create and track feature requests for Atlassian products.) and some undefined variables. So when I use it like plain CSS I don’t have styles that I need. When I try to compile it with less.js there are errors because of some imports and missed variables.
If I export pages with export_view
there are no styles.
Is there a way to export pages with only styles that are needed for showing the page?