Hi
I have been successful in stopping the ".confluence-information-macro-information " class from being included in a PDF export.
Is there a listing of all the css classes that are used when exporting to PDF?
I tried looking at the CSS of the published page BUT the classes seem quite different to the one used in the PDF export.
This would be useful to hide or format any macro or html element for pdf export.
For example:
In the published page the div has the class
class="ak-editor-panel css-xyzabc"
data-panel-type attribute ="info"
This is different to .confluence-information-macro-information
fyi the issue that gave me some clues: [CONFSERVER-31307] Word and PDF Export: Info, Note, Warning and Tip macros are not included in the exported document - Create and track feature requests for Atlassian products.
See the possible workaround section.
Thank Barry
Hi @Barry Steinberg ,
welcome to the Atlassian community!
That link is for server instances. For a cloud instance that request is not in place yet https://jira.atlassian.com/browse/CONFCLOUD-31307
Hope this helps,
Fabio
Thanks @Fabio Racobaldo _Herzum_
CONFCLOUD-31307 was to resolve some other issue, it was about missing icons in the pdf.
I am not reporting a problem. I am asking for help. I want to know what CSS selectors to use for the various elements. Is there a naming convention or any documentation?
Thanks Barry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.