<draft-comment> appearing in PDF output | Community
Skip to main content
Level 3
September 2, 2022
Solved

<draft-comment> appearing in PDF output

  • September 2, 2022
  • 1 reply
  • 1906 views

Hello -- Anything we place inside the <draft-comment> element is appearing in our PDF output. I thought if I changed the document state of the topic from “Draft” to “Approved” or “Done” in Assets this would prevent the <draft-comment> from appearing in the published output.

 

Unfortunately, that did not work, and the <draft-comment> appeared in the published output after I changed the document state of the topic to “Approved” or “Done”.

 

How can this be resolved?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by GunjanK

Hi Nicole,

 

You have to use "!important" with "none" in the draft-comment style. You can use CSS Editor Source mode for these changes.

 

 

.draft-comment {
    display: none !important;
}

 


Regards,
Gunjan Kumar

1 reply

Adobe Employee
September 2, 2022

Hi Nicole,

You can use style to hide draft comments. Select .draft-comments style, go to LAYOUT section, select "none" for the Display dropdown. Following image will help

 

 

Thanks,

Vivek

ndlholm1Author
Level 3
September 2, 2022

Thanks, Vivek. I followed the instructions you provided, but the draft-comment is still appearing in my PDF output.

GunjanKAdobe EmployeeAccepted solution
Adobe Employee
September 5, 2022

Hi Nicole,

 

You have to use "!important" with "none" in the draft-comment style. You can use CSS Editor Source mode for these changes.

 

 

.draft-comment {
    display: none !important;
}

 


Regards,
Gunjan Kumar